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

Startseite
Nachricht löschen
Autor: ph10
Datum:  
To: ND
CC: Pcre-dev
Betreff: Re: [pcre-dev] (*SKIP:NAME) when (*MARK:NAME) is in assertion
On Sat, 14 Jul 2018, ND via Pcre-dev wrote:

> PCRE2 version 10.31 2018-02-12
> /(*NO_START_OPT)\A(?>(*:1)a)((*:2)x|)/mark
> ab
> 0: a
> 1:
> MK: 1
>
> Resulting mark is "1" when no backtracking is allowed to it.


It just remembers "most recent mark" in the backtracking frame.

Philip

--
Philip Hazel