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

Pàgina inicial
Delete this message
Autor: ND
Data:  
A: Pcre-dev
Assumpte: [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.