Hide Forgot
The /aa regular expression modifier is news in Perl 5.14. Following bug appears with perl-5.14.1-185.fc16.x86_64: # cat test #!/usr/bin/perl use 5.014; my $foo = "foo"; $foo =~ s/\bfoo/bar/aa; print "$foo\n"; # ./test panic: Unexpected FLAGS 4 in op 12 at ./test line 6.
Fixed in upstream as: commit c973bd4f39028e70c9887cea72ea048a71347c9b Author: Karl Williamson <public> Date: Sat Jul 30 12:08:47 2011 -0600 Panic with \b and /aa This was due to my oversight in not fixing this switch statement to accommodate /aa when it was added.
The fix is incomplete. There is another bug (https://rt.perl.org:443/rt3/Ticket/Display.html?id=95968): my $a = "\x{e2}A"; utf8::upgrade($a); print $a =~ qr/ (?aa: \x{e2} \b A* ) /x . "\n"; The match operator should succeed, but it does not due to the bug. It's fixed by: commit f2e96b5ddb6396417bc2fb71915c5025215060d6 Author: Karl Williamson <public> Date: Sat Jul 30 12:33:31 2011 -0600 /aa and \b fail under some utf8 strings This was due to my failure to realize that this 'if' needed to be updated when the /aa modifier was added. commit c4499eff9e27f09a805029be88d38ee5f4d89144 Author: Karl Williamson <public> Date: Sat Jul 30 12:33:31 2011 -0600 Add perldelta for /aa and \b commit This adds an entry for commit f2e96b5ddb6396417bc2fb71915c5025215060d6
Perl 5.14, thus Fedora 17--16 are affected only.
Fixed in F17 as perl-5.14.2-193.fc17.
perl-5.14.2-189.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-5.14.2-189.fc16
Package perl-5.14.2-189.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-5.14.2-189.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15276 then log in and leave karma (feedback).
Package perl-5.14.2-190.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-5.14.2-190.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15276 then log in and leave karma (feedback).
perl-5.14.2-190.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.