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

Página Principal
Apagar esta mensagem
Autor: Marton Kiss-Albert
Data:  
Para: pcre-dev
Assunto: [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