This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #115242] Test
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 21 Oct 2012 03:43:20 +0000 (21:43 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 21 Oct 2012 04:13:39 +0000 (22:13 -0600)
This commit is a test for this bug.

t/re/re_tests

index 03167b8..fff9e4c 100644 (file)
@@ -849,6 +849,7 @@ abb$        b\nca   n       -       -
 'abb\Z'm       b\nca   n       -       -
 'abb\z'm       b\nca   n       -       -
 'abb$'m        b\nca   n       -       -
+'\Aa$'m        a\n\n   y       $&      a
 (^|x)(c)       ca      y       $2      c
 a*abc?xyz+pqr{3}ab{2,}xy{4,5}pq{0,6}AB{0,}zz   x       n       -       -
 a(?{$a=2;$b=3;($b)=$a})b       yabz    y       $b      2