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

Top Page
Delete this message
Author: ph10
Date:  
To: ND
CC: Pcre-dev
Subject: 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