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

トップ ページ
このメッセージを削除
著者: JW
日付:  
To: pcre-dev
題目: [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