[pcre-dev] [Bug 580] New: inconsistent results of \S\S vs \S…

Top Page
Delete this message
Author: Nuno Lopes
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 580] New: inconsistent results of \S\S vs \S{2} in unicode mode
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=580
           Summary: inconsistent results of \S\S vs \S{2} in unicode mode
           Product: PCRE
           Version: 7.2
          Platform: Other
               URL: http://bugs.php.net/42298
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: nunoplopes@???
                CC: pcre-dev@???



\S\S yields to differents results than \S{2} in unicode mode:

$ pcretest
PCRE version 7.2 2007-06-19

re> /\S\S/8g
data> A\xc2\xa3BC

0: A\x{a3}
0: BC

re> /\S{2}/8g
data> A\xc2\xa3BC

0: A
0:
0: BC


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