In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/bf5c7c7dda5ab51eb76dfb8282ec8fa20cea9363?hp=11d2c9319f9ade181b60e1da250698be363804b2>
- Log ----------------------------------------------------------------- commit bf5c7c7dda5ab51eb76dfb8282ec8fa20cea9363 Author: Karl Williamson <k...@cpan.org> Date: Sun Dec 2 01:30:39 2018 -0700 Revert "regcomp.c: Use a weird value in a place where ignored" This reverts commit 5a4bc50b395654abde21718cbce2e296049f470d. It turns out I was wrong, and the value isn't ignored. The commit caused the pattern to be optimized differently, but still be valid, so no tests failed. ----------------------------------------------------------------------- Summary of changes: regcomp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/regcomp.c b/regcomp.c index 59ef4684b0..9dac06c119 100644 --- a/regcomp.c +++ b/regcomp.c @@ -14508,8 +14508,7 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth) } - alloc_maybe_populate_EXACT(pRExC_state, ret, flagp, len, - UV_MAX, /* unused here */ + alloc_maybe_populate_EXACT(pRExC_state, ret, flagp, len, ender, FALSE /* Don't look to see if could be turned into an EXACT node, as we have already -- Perl5 Master Repository