-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: