[pcre-dev] Max lookbehind calculation

トップ ページ
このメッセージを削除
著者: ND
日付:  
To: Pcre-dev
題目: [pcre-dev] Max lookbehind calculation

Hello!


Here is pcre2test listing:


PCRE2 version 10.33 2019-04-16
/(?<=.{2}(?<=.{6}))/info
Capture group count = 0
Max lookbehind = 6
May match empty string
Subject length lower bound = 0
abc\=ph
No match


Expected maxlookbehind=4, not 6.
May be calculation algorithm could be corrected.


Thanks.