[pcre-dev] [Bug 812] New: Unmatched optional groups do not m…

トップ ページ
このメッセージを削除
著者: Konstantin Käfer
日付:  
To: pcre-dev
題目: [pcre-dev] [Bug 812] New: Unmatched optional groups do not match nothing when used as backreference
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=812
           Summary: Unmatched optional groups do not match nothing when used
                    as backreference
           Product: PCRE
           Version: 7.8
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: kkaefer@???
                CC: pcre-dev@???



The regular expression b(a)?\1 matches "baa", but not "b". Other regular
expression engines do this. A workaround is b(a)?(?(1)\1|).


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