Re: [pcre-dev] Quantifying backtracking verbs

Startseite
Nachricht löschen
Autor: ph10
Datum:  
To: ND
CC: Pcre-dev@exim.org
Betreff: 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