ID:               49048
 Updated by:       [email protected]
 Reported By:      samva at ukr dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         *Regular Expressions
 Operating System: ASPLinux
 PHP Version:      5.2.10
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This only works for Unicode characters in "u" mode (just adding the "u"
specifier should make it work)


Previous Comments:
------------------------------------------------------------------------

[2009-07-24 13:26:15] samva at ukr dot net

Description:
------------
Failed preg_match

Reproduce code:
---------------
---
>From manual page: regexp.reference.unicode
---
    $value = 'способ';
    $reg   = '/(^[\pL]+$)/i';
    echo (preg_match ($reg,$value)) ? 'SUCCESS' : 'FAILED';

Expected result:
----------------
SUCCESS

Actual result:
--------------
FAILED


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49048&edit=1

Reply via email to