http://bugzilla.suse.com/show_bug.cgi?id=999735
http://bugzilla.suse.com/show_bug.cgi?id=999735#c4
--- Comment #4 from Michael Schröder ---
If you're wondering what the bug is: when matching a regex, perl first does a
"intuit" check. If there's a trivial match, it does not call the regex engine
at all. This is what happens with your code. The problem is that the code that
stores the matches after the intuit check is different than the code from the
regex engine, and it forgets to store some critical data needed for @-.
The commits that fix this refactor the regex store code into a separate
function (Perl_reg_set_capture_string) and make the intuit code use that
function as well.
The commits in for this are 60165aa4bc7ef12661c54168e5dd07abb3881564 and
4d2e8fb573b7e5488f92e2fcdad09d15b54e35c3
--
You are receiving this mail because:
You are on the CC list for the bug.