[pcre-dev] Max lookbehind calculation

Página superior
Eliminar este mensaje
Autor: ND
Fecha:  
A: Pcre-dev
Asunto: [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.