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

Página superior
Eliminar este mensaje
Autor: ph10
Fecha:  
A: ND
Cc: Pcre-dev
Asunto: 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