Re: [pcre-dev] (*SKIP:NAME) when (*MARK:NAME) is in assertio…

Αρχική Σελίδα
Delete this message
Συντάκτης: ph10
Ημερομηνία:  
Προς: ND
Υ/ο: Pcre-dev
Αντικείμενο: Re: [pcre-dev] (*SKIP:NAME) when (*MARK:NAME) is in assertion
On Fri, 13 Jul 2018, ND via Pcre-dev wrote:

> The SKIP verb don't need backtracking after it fires: there is bumpalong and
> new match. If MARK position is saved then there is no problem for engine to
> discard current matching and start new matching at saved position without any
> backtracking. Isn't it?


When SKIP has a name, it backtracks until it hits a MARK with the same
name.

Philip

--
Philip Hazel