[pcre-dev] [Bug 1504] DFA matching seems to have regressed, …

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1504] DFA matching seems to have regressed, causing GLib test failure
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1504




--- Comment #3 from Philip Hazel <ph10@???> 2014-07-21 10:01:48 ---
On Mon, 21 Jul 2014, Simon McVittie wrote:

> git bisect says the culprit is r1363, "Refactored auto-possessification code",
> which appears to be an API change:


Your message crossed with mine...

> Is it intentional that this broke existing applications?


No, but clearly we didn't think it through properly.

> This does suggest how GLib can avoid this issue: it can set
> PCRE_NO_AUTO_POSSESSIFY, if defined, when using DFA.


... and wanting more than just the longest match.

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email