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

Kezdőlap
Üzenet törlése
Szerző: Konstantin Käfer
Dátum:  
Címzett: pcre-dev
Tárgy: [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