Graham TerMarsch writes:
>
> While using the more recent versions of perl5db.pl, I've noticed a few strange
> anomalies that appear from use to be bugs (so please do correct me if I'm
> wrong).  I noticed them in both the 1.02 and 1.03 versions, but didn't find
> them in v1.01.

Trying to,debig this, I noticed that the debugger reverted to
black-and-white in 5.005_50 (my termcap entry uses colors for
highlights).  This is due to Term::Cap not working, which is in term
due to 'ca' =~ /(^|x)c/ not working.

Patch follows, enjoy,
Ilya

--- ./t/op/re_tests~	Thu Jul 30 16:08:40 1998
+++ ./t/op/re_tests	Thu Jul 30 16:07:44 1998
@@ -483,3 +483,4 @@ b\Z	a\nb\n	y	-	-
 b\z	a\nb\n	n	-	-
 b\Z	a\nb	y	-	-
 b\z	a\nb	y	-	-
+(^|x)(c)	ca	y	$2	c
--- ./regexec.c~	Sat Jul 25 22:11:26 1998
+++ ./regexec.c	Thu Jul 30 16:01:34 1998
@@ -444,7 +444,7 @@ regexec_flags(register regexp *prog, cha
 		s = HOP(s, -back_max);
 	    }
 	    else {
-		char *t = (last1 >= PL_bostr) ? HOP(last1, 1) : last + 1;
+		char *t = (last1 >= PL_bostr) ? HOP(last1, 1) : last1 + 1;
 
 		last1 = HOP(s, -back_min);
 		s = t;		
