Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous commit fixed a regression in 5.18.0: my $pat = qr/a/; 'aaaa' =~ /$pat/gp or die; print "MATCH=[${^MATCH}]\n"; which printed 'a' in 5.16.0, and undef in 5.18.0. 5.18.0 only broke the /g behaviour; the non-/g variant was already broken and the previous commit didn't fix that for maint. The new tests are testing for the non-/g variant, which still fail, so disable these tests. (Getting it to capture under non-/g works in 5.19.2 due to a major reorganisation of the pp_match/pp_subst/regexec() code, which isn't suitable for backporting to maint-5.18.)
- Loading branch information