[pcre-dev] Max lookbehind calculation

Kezdőlap
Üzenet törlése
Szerző: ND
Dátum:  
Címzett: Pcre-dev
Tárgy: [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.