[RT #111842] prevent TRIE overwriting EXACT following NOTHING at start
authorYves Orton <demerphq@gmail.com>
Mon, 19 Mar 2012 23:46:45 +0000 (00:46 +0100)
committerYves Orton <demerphq@gmail.com>
Tue, 20 Mar 2012 10:20:06 +0000 (11:20 +0100)
commita40630bf5c45bc9d528e1eacffde2666ad23c6b2
tree1e6f4a74c3ded41955126c6752b7516de7a9d1f6
parent39ea6a4bb86bea2953fbe16b8063fd13073507a0
[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.
regcomp.c
t/re/pat_advanced.t