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

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumptes vells: [pcre-dev] [Bug 1082] New: \R and greedy quantifier
Assumpte: [pcre-dev] [Bug 1082] \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

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





--- Comment #2 from Philip Hazel <ph10@???> 2011-05-09 09:57:49 ---
After thinking about this, I agree with you that it is a bug, especially as the
documentation explicitly says the sequence \r\n "cannot be split up" and also
that \R is equivalent to (?>\r\n|\n|\x0b|\f|\r|\x85). I have committed a patch
that fixes the bug. Interestingly, Perl (v5.12.2) has the same bug!


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