Branch: refs/heads/yves/fix_dollar_plus_branch_reset
Home: https://github.com/Perl/perl5
Commit: d12e56fbe6b2ad68cc10b10b6ba43fa07e983d77
https://github.com/Perl/perl5/commit/d12e56fbe6b2ad68cc10b10b6ba43fa07e983d77
Author: Yves Orton <[email protected]>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M mg.c
M t/re/re_tests
Log Message:
-----------
mg.c - fix $+ combined with branch reset
I missed that $+ needs to do the parno_to_logical lookup.
We had tests for $^N, but not $+. This also fixes the code
for $^N to only do the lookup when the paren is not 0.
Fixes #20912