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

Página superior
Eliminar este mensaje
Autor: ND
Fecha:  
A: Pcre-dev
Asunto: Re: [pcre-dev] (*SKIP:NAME) when (*MARK:NAME) is in assertion
On 2018-07-12 07:25, ph10 wrote:
>The (*MARK) is inside the assertion. That is what matters. I haveupdated
> the documentation to say this:
> The search for a (*MARK) name uses the normal backtracking mechanism,
> which means that it does not see (*MARK) settings that are inside
> atomic groups or assertions, because they are never re-entered by
> backtracking.



And one more thing should also be clarified in docs:
MARK name unlike MARK position is saved outside assertion or atomic group:


PCRE2 version 10.31 2018-02-12
/a(?=.(*:1))/mark
ab
0: a
MK: 1