-
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.5.3 vs 5.6.1: A relust of split() changed when split's regexp has capture-()s #4427
Comments
From hac@subscribe.ruDescriptionA result of split() changed when split's regexp has capture-()s 5.005_03 - array elements for unmatched () was undef Test case from real life - parsing HTML's &...; symbol-entity. Test script source and perl -V below. How to reproduce./test -script 'aaa { bbb Ǐ ccc ddd' Output: 5.005_03 5.6.1 Perl -V for 5.005_03 Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Characteristics of this binary (from libperl): Perl -V for 5.6.1 Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Characteristics of this binary (from libperl): Test script source: #!/usr/bin/perl @A = split(/&(?:([a-zA-Z0-9]+)|#([0-9]+)|#[xX]([0-9a-hA-H]+));/go,@ARGV[0]); while(@A) last unless(@A); foreach (qw(1 2 3)) Pavel Yakovlev "When God talks with me it's the miracle. When I talk with God it's the madness" |
From [Unknown Contact. See original ticket]
I patched this for bleadperl about a month ago or so. It'll be |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#7709 (status was 'resolved')
Searchable as RT7709$
The text was updated successfully, but these errors were encountered: