[pcre-dev] [Bug 1082] New: \R and greedy quantifier

Kezdőlap
Üzenet törlése
Szerző: Zoltan Herczeg
Dátum:  
Címzett: pcre-dev
Új témák: [pcre-dev] [Bug 1082] \R and greedy quantifier
Tárgy: [pcre-dev] [Bug 1082] New: \R and greedy quantifier
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1082
           Summary: \R and greedy quantifier
           Product: PCRE
           Version: N/A
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: hzmester@???
                CC: pcre-dev@???



Pattern "\R*\p{Any}" matches fully to "\r\n" (0,2) since the greedy quantifier
only throws away the last \n, although \R was matched to "\r\n" before.
Although the JIT compiler is copy this behaviour now, I am not sure this is
correct...


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