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

Page principale
Supprimer ce message
Auteur: ph10
Date:  
À: ND
CC: Pcre-dev
Sujet: 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