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

Αρχική Σελίδα
Delete this message
Συντάκτης: Zoltan Herczeg
Ημερομηνία:  
Προς: pcre-dev
Καινούρια Θέματα: [pcre-dev] [Bug 1082] \R and greedy quantifier
Αντικείμενο: [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