On 2018-07-10 04:48, ND wrote:
On 2018-07-09 09:25, ph10 wrote:
>If any branch in a negative assertion succeeds, the captures are> (temporarily) kept, but as the whole assertion now fails, there is an> external backtrack, which discards the captures.
>
To what point backtracking is?
I guess Perl doesn't backtrack if last alternative of negative assertion fails.


Let's see another simple example of this when PCRE discard capture unlike Perl:


PCRE2 version 10.31 2018-02-12
/(?!(a)b)/allcaptures
a
 0:
 1: <unset>

--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev

Reply via email to