[pcre-dev] [Bug 1484] Problem with named subpattern in a con…

Inizio della pagina
Delete this message
Autore: Philip Hazel
Data:  
To: pcre-dev
Oggetto: [pcre-dev] [Bug 1484] Problem with named subpattern in a condition on recursion
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Philip Hazel <ph10@???> changed:

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





--- Comment #1 from Philip Hazel <ph10@???> 2014-06-02 17:19:32 ---
I believe this is fixed by the following change that was made for release 8.34:

15. A back reference to a named subpattern when there is more than one of the
    same name now checks them in the order in which they appear in the pattern.
    The first one that is set is used for the reference. Previously only the 
    first one was inspected. This change makes PCRE more compatible with Perl.


I have made a pcretest file that uses your patterns, and with pcre 8.35 (the
current releas) it matches, and gives exactly the same result as Perl.


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