------- 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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

-- 
## List details at http://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to