[pcre-dev] [Bug 1190] lookaround doesn't work with startoffs…

Page principale
Supprimer ce message
Auteur: Zoltan Herczeg
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1190] lookaround doesn't work with startoffset
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???





--- Comment #1 from Zoltan Herczeg <hzmester@???> 2011-12-28 09:21:20 ---
(I presume you just forgot the closing bracket of your regex)

Your regex matches to the empty string between '4' and '5' an nowhere else (and
it works correctly in pcretest). For an unanchored regex, you will get this
result with startoffset <= 4, and no match for > 4 values. I suspect something
is missing from your explanation, so what is your intent?


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