[pcre-dev] Atomic group optimizations issue

2013-12-22 Thread ND
Good day! Here is two pcretest.exe listings: PCRE version 8.34-RC 2013-06-14 /(?(1)|2|.)*?(3|4)/ \Mabcdefghijklmnopqrstuvwxyz Minimum match() limit = 217 Minimum match() recursion limit = 55 No match PCRE version 8.34-RC 2013-06-14 /(?:(1)|2|.)*?(3|4)/ \Mabcdefghijklmnopqrstuvwxyz Minimum

[pcre-dev] [Bug 1419] PCRE slower at matching UTF8 character classes.

2013-12-22 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=1419 --- Comment #21 from Philip Hazel p...@hermes.cam.ac.uk 2013-12-22 13:10:21 --- On Sun, 22 Dec 2013, Zoltan Herczeg wrote: Philip, any comments for the patch?

Re: [pcre-dev] [Bug 1419] PCRE slower at matching UTF8 character classes.

2013-12-22 Thread Ze'ev Atlas
Philip wrote Go ahead, but perhaps edit the PCRE version to 8.35-RC1. We haven't  heard any immediate shouts for bugs in 8.34 (and we know people are  using it) so I guess it's OK to move forwards.  Zoltan wrote Thanks! I also have several followup patches, since this new approach created new

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

2013-12-22 Thread Zoltan Herczeg
--- You are receiving this mail because: --- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1423 Summary: Bad condition when optimizing character range checks Product: PCRE Version: N/A Platform: Other

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

2013-12-22 Thread Giuseppe D'Angelo
--- You are receiving this mail because: --- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1423 Giuseppe D'Angelo dange...@gmail.com changed: What|Removed |Added

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

2013-12-22 Thread Zoltán Herczeg
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

Re: [pcre-dev] Atomic group optimizations issue

2013-12-22 Thread Zoltán Herczeg
Hi Naden, I like that you always have some interesting questions :) It is great to talk about the internals and optimizations of PCRE. Here is the answer to your question: in the second case, you see the effect of an optimization called tail recursion. You can even see that in the first case,