Auteur: ph10 Date: À: ND CC: Pcre-dev Sujet: 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.