Re: [pcre-dev] Quantifying backtracking verbs

Top Page
Delete this message
Author: ph10
Date:  
To: ND
CC: Pcre-dev@exim.org
Subject: 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