[pcre-dev] [Bug 892] New: a duplicate named subpattern retur…

Top Page
Delete this message
Author: JW
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 892] New: a duplicate named subpattern returns the first match/nomatch result for conditional match of that pattern within the expression.
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=892
           Summary: a duplicate named subpattern returns the first
                    match/nomatch result for conditional match of that
                    pattern within the expression.
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: eximbug@???
                CC: pcre-dev@???



a duplicate named subpattern returns the first match/nomatch result for
conditional match of that pattern within the expression.


eg.,

(?:a(?<quote>(?<apostrophe>')|(?<realquote>"))|b(?<quote>(?<apostrophe>')|(?<realquote>")))(?(quote)[a-z]+|[0-9]+)


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