[pcre-dev] [Bug 1429] New: PCRE 8.34

Top Page
Delete this message
Author: Bruno
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1429] New: PCRE 8.34
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1429
           Summary: PCRE 8.34
           Product: PCRE
           Version: N/A
          Platform: x86-64
               URL: http://core.spip.org/issues/3132
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: bruno+pcre@???
                CC: pcre-dev@???



Consider testing this expression with pcretest :
/[^._=-\w]+/

With pcre 8.34 :
re> /[^._=-\w]+/

Failed: invalid range in character class at offset 7

With pcre 8.33
re> /[^._=-\w]+/
data>


Now when using preg_replace in PHP:

preg_replace warns me with the message «invalid range...» and returns an
empty string when using libpcre version 8.34. So it breaks the application
logic.

PS : Today, there is not 8.34 option in the version listbox on this page.


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