This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[Patch t/op/re_tests] Re: [perl #56690] Some bugs in Perl regexp (core Perl issues)
authorAbigail <abigail@abigail.be>
Tue, 8 Jul 2008 18:48:37 +0000 (20:48 +0200)
committerSteve Peters <steve@fisharerojo.org>
Wed, 9 Jul 2008 17:22:47 +0000 (17:22 +0000)
Message-ID: <20080708164836.GB4537@almanda>

p4raw-id: //depot/perl@34116

t/op/re_tests

index 6894458..4013ab6 100644 (file)
@@ -1344,4 +1344,7 @@ foo(\h)bar        foo\tbar        y       $1      \t
 .*?(?:(\w)|(\w))x      abx     y       $1-$2   b-
 
 0{50}  000000000000000000000000000000000000000000000000000     y       -       -
+# Bug #56690
+^a?(?=b)b      ab      B       $&      ab
+^a*(?=b)b      ab      B       $&      ab