[pcre-dev] \K in lookahead assertion gives unpredictable res…

Página Principal
Apagar esta mensagem
Autor: ND
Data:  
Para: Pcre-dev
Assunto: [pcre-dev] \K in lookahead assertion gives unpredictable result
Good day!

Here is pcretest.exe listing:


PCRE version 8.34-RC 2013-06-14
/(?=a\K)/
ab
0: b\x89b\x1f\xe4J~\x04


This match is unpredictable for me. May be a bug there.

Thanks a lot.