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

Startseite
Nachricht löschen
Autor: Zoltán Herczeg
Datum:  
To: ND
CC: Pcre-dev
Betreff: Re: [pcre-dev] \K in lookahead assertion gives unpredictable result
Hi,

yes it seems there is a rubbish after the 'b'. However, I don't see this behavior in the recent release (under Linux at least), and your binary is half year old. Could you try it with a newer version?

Anyway I suspect the result is correct (it start with b), just the printing does not stop after the end of the input. This might be a pcretest or windows libc bug.

Regards,
Zoltan

ND <nadenj@???> írta:
>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.
>
>--
>## List details at https://lists.exim.org/mailman/listinfo/pcre-dev