Re: [pcre-dev] Quantifying backtracking verbs

Góra strony
Delete this message
Autor: ph10
Data:  
Dla: ND
CC: Pcre-dev@exim.org
Temat: Re: [pcre-dev] Quantifying backtracking verbs
On Wed, 5 Jun 2019, ND via Pcre-dev wrote:

> It's not true for (*ACCEPT).
> Construct "(*ACCEPT)??" is like a negated (*COMMIT) pattern:
> (*COMMIT) immediately fail a whole match when backtrack to it occurs
> (*ACCEPT)?? immediately match when backtrack to it occurs


Ah, that is an interesting feature that I had not though of. I agree it
could be useful and will consider how to implement it. Thank you for the
insight.

Philip

--
Philip Hazel