On 21 March 2014 17:03, demerphq <demerphq@gmail.com> wrote: > On 21 March 2014 14:01, Zefram <perlbug-followup@perl.org> wrote: >> # New Ticket Created by Zefram >> # Please include the string: [perl #121484] >> # in the subject line of all future correspondence about this issue. >> # <URL: https://rt.perl.org/Ticket/Display.html?id=121484 > >> >> >> >> This is a bug report for perl from zefram@fysh.org, >> generated with the help of perlbug 1.40 running under perl 5.19.10. >> >> >> ----------------------------------------------------------------- >> [Please describe your issue here] >> >> $ perl5.19.10 -lwe 'print "wibble" =~ /\Awibble\z/m ? "yes" : "no"' >> no >> $ perl5.19.9 -lwe 'print "wibble" =~ /\Awibble\z/m ? "yes" : "no"' >> yes >> >> Obviously a regression. Regexp matches correctly if /m is omitted, >> or if either anchor is omitted, or if any of the letters "ble" in the >> pattern are replaced with dots. But replacing "wib" with dots keeps it >> falsely non-matching. > > Why is this a regression? I call this a bug fix. It *should* have > matched with /m. There are no regexp structures affected by /m in this > pattern. I cant read. Forget this. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next