Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: d6a7f649855cd40a6e7d9f8397d3cb877a690999
https://github.com/Perl/perl5/commit/d6a7f649855cd40a6e7d9f8397d3cb877a690999
Author: Yves Orton <[email protected]>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M regexec.c
M t/re/re_tests
Log Message:
-----------
regcomp.c - make sure CURLYM closes the capture buffer after each match
We have to close the paren immediately after each time we
match A, or conditional patterns will break.
An alternative and possibly more efficient solution would be to block
CURLYX -> CURLYM conversion when the inside contains a conditional check
just like we do with EVAL.
Fixes #7754 aka https://github.com/Perl/perl5/issues/7754