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:

> On 2018-07-13 16:08, ph10 wrote:
> >When SKIP has a name, it backtracks until it hits a MARK with the samename.
> >
>
> Why it need to backtrack?
> Why not do a "bumpalong" advance to the next starting character strait away?


It has to backtrack to the *MARK because that is where the bumpalong
data is remembered. There may be many *MARKs, each with a different
name. You can't just keep a single data item.

Philip

--
Philip Hazel