5.005_57: Regex behaves incorrectly #42
Comments
From @mjdominusThis should print `!!!' before it does anything else, and in this case However, it doesn't match, and it doesn't print `!!!' either. If I remove the $ from the end of the regex, it prints `!!!'. Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration: Characteristics of this binary (from libperl): Mark-Jason Dominus mjd@plover.com |
From [Unknown Contact. See original ticket]Mark, The code you gave: #!/usr/bin/perl -w $z = ("xf" =~ m{^ print "$z\n"; now emits a warning (in 5.6-RC2):
I don't know whether this helps your code or reflects a different Nat |
From @mjdominus
The warning makes sense, and I can't imagine what possessed me to put a |
Migrated from rt.perl.org#844 (status was 'resolved')
Searchable as RT844$
The text was updated successfully, but these errors were encountered: