[pcre-dev] [Bug 712] New: \w class not matched few hungarian…

Page principale
Supprimer ce message
Auteur: Marton Kiss-Albert
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 712] New: \w class not matched few hungarian characters
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=712
           Summary: \w class not matched few hungarian characters
           Product: PCRE
           Version: N/A
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: kamarton@???
                CC: pcre-dev@???



The preg functions (in php 2.5.2) '\w' class with 'u' modifiers not matched:
ő, Ő, ű and Ű characters.

Reproduce code:
preg_replace('/\w/u','_','öüóőúéáűíÖÜÓŐÚÉÁŰÍ');

Expected result:
'__________________'

Actual result:
'___ő___ű____Ő___Ű_'


PCRE version: 7.3 2007-08-28


Regards,
Marton
(Sorry my english)


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