Add tests for
authorHugo van der Sanden <hv@crypt.org>
Sat, 22 Jul 2000 18:12:58 +0000 (19:12 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 24 Jul 2000 02:50:03 +0000 (02:50 +0000)
[ID 19991110.003] another matching finding by pcre author
which has already been fixed by some patch, as verified in

Subject: Re: two regex bugs from the mists of time (well, last November)
Message-Id: <200007221712.SAA26770@crypt.compulink.co.uk>

p4raw-id: //depot/perl@6427

t/op/re_tests

index 1e95a35..421442d 100644 (file)
@@ -760,3 +760,5 @@ tt+$        xxxtt   y       -       -
 '(?!\A)x'm     a\nxb\n y       -       -
 ^(a(b)?)+$     aba     y       -$1-$2- -a--
 ^(aa(bb)?)+$   aabbaa  y       -$1-$2- -aa--
+^(a)?a$        a       y       -$1-    --
+^(a)?(?(1)a|b)+$       a       n       -       -