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

2013-12-23 Thread Zoltán Herczeg
Hi, just a little help for debugging this. In such cases, where the start offset is bigger than end offset (1 0 this case), pcretest prints out the characters from start offset to the end of the input. It could print an empty string (such as Perl), but that would not be helpful for

[pcre-dev] [Bug 1423] Bad condition when optimizing character range checks

2013-12-23 Thread Philip Hazel
--- You are receiving this mail because: --- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1423 Philip Hazel p...@hermes.cam.ac.uk changed: What|Removed |Added

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

2013-12-23 Thread ND
On 2013-12-23 07:11, Zoltán Herczeg wrote: Could you try it with a newer version? It seems that last PCRE version have this problem too: PCRE version 8.35-RC1 2013-12-23 /(?=a\K)/ ab 0: bx\xae\xf4\xdfpZ\x04 yes it seems there is a rubbish after the 'b'. However, I don't see this