Re: [pcre-dev] Quantifying backtracking verbs

Etusivu
Poista viesti
Lähettäjä: ph10
Päiväys:  
Vastaanottaja: ND
Kopio: Pcre-dev
Aihe: Re: [pcre-dev] Quantifying backtracking verbs
On Wed, 19 Jun 2019, ND via Pcre-dev wrote:

> >At present, lookarounds do not take part in minimum length calculations,
>
> I see lookarounds takes part: first and last code units are searched in
> lookarounds too.


I wasn't quite precise. Lookarounds are not scanned when computing
a minimum length, but they may provide a first/last code unit. If the
minimum length is less than 2, the existence of the first/last code
units will be used to set a minimum length.

Philip

--
Philip Hazel