Re: [pcre-dev] Quantifying backtracking verbs

トップ ページ
このメッセージを削除
著者: ph10
日付:  
To: ND
CC: Pcre-dev
題目: 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