In perl.git, the branch smoke-me/rt_111842 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/0d32a491e92f09c1dd05dec9a1d54d07ca3d167f?hp=0000000000000000000000000000000000000000>
at 0d32a491e92f09c1dd05dec9a1d54d07ca3d167f (commit)
- Log -----------------------------------------------------------------
commit 0d32a491e92f09c1dd05dec9a1d54d07ca3d167f
Author: Yves Orton <[email protected]>
Date: Tue Mar 20 00:52:46 2012 +0100
correct logic error that meant that "last" might not be updated properly
While checking into an unrelated issue I realized "last" might not
be reset under certain circumstances. Although I could not find a way
to make anything bad happen from perl, I decided to fix it, at worst
we waste a few CPU cycles setting "last" to NULL more often than we
should.
M regcomp.c
commit 84ca160f41c0f4e0b5653cd86f0da76d5cca6cbc
Author: Yves Orton <[email protected]>
Date: Tue Mar 20 00:46:45 2012 +0100
[RT #111842] prevent TRIE overwriting EXACT following NOTHING at start
Fixes RT #111842. Example:
"x" =~ /\A(?>(?:(?:)A|B|C?x))\z/
Should match, but didn't due to allowing NOTHING to start a sequence.
See comment in patch for details.
This also changes a test to no longer be TODO, and improves the test
name to explain its purpose.
M regcomp.c
M t/re/pat_advanced.t
-----------------------------------------------------------------------
--
Perl5 Master Repository