[pcre-dev] [Bug 760] Named patterns with same index conflict

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 760] New: Named patterns with same index conflict
Tárgy: [pcre-dev] [Bug 760] Named patterns with same index conflict
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX





--- Comment #6 from Philip Hazel <ph10@???> 2009-10-03 17:32:04 ---
Further thought on this has convinced me that it is not possible to make this
work using the current API. There is nowhere for PCRE to remember which
subpattern matched, when several of them have the same number but different
names. For this reason, I have just committed a patch that gives a compile time
error if different names are used for subpatterns of the same number. At least
that will stop people falling into this confusion. I have also documented the
situation carefully.

I am reluctantly closing this issue WONTFIX (the first time I have ever done
that).


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