[pcre-dev] [Bug 930] Using this simple regex : "(?i)ab(?-i)|…

Page principale
Supprimer ce message
Auteur: Rene
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 930] Using this simple regex : "(?i)ab(?-i)|c" will cause errorcode 23 in pcre_compile
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #2 from Rene <liuhewei@???> 2009-12-14 00:23:45 ---
(In reply to comment #1)
> On Thu, 10 Dec 2009, Rene wrote:
> > when I used some kind of regexs just like "(?i)a(?-i)b|c",
> > "(?i)ab(?-i)|c" et., PCRE crashed with errorcode 23 in pcre_compile.
> > It seems that if the regex has some modifier( i,m,s...) at the
> > beginning, and the opposite modifier appears in the first branch, then
> > this error happens. I have tried PCRE 7.8/7.9/8.0, the same result...
> >
> > looking forward to your response, thanks:)
> The patch below, for 8.00, fixes this bug. Thank you for your report.
> Philip


sorry, I can't see the patch?...>.<


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