Re: [pcre-dev] Quantifying backtracking verbs

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