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

 ID:          51575
 Updated by:  [email protected]
 Reported by: pretender at design dot ru
 Summary:     S modifier causes preg_match to behave incorrectly
-Status:      Open
+Status:      Bogus
 Type:        Bug
 Package:     PCRE related
 PHP Version: 5.2.13

 New Comment:

Not a PHP bug.


Previous Comments:
------------------------------------------------------------------------
[2010-04-21 19:09:55] [email protected]

This is a probable PCRE lib bug. I've reported this issue to a open
recent bug report: http://bugs.exim.org/show_bug.cgi?id=976

------------------------------------------------------------------------
[2010-04-16 19:29:05] pretender at design dot ru

Description:
------------
With some UTF-8 letters of Cyrillic block preg_match behaves incorrectly
with S 

modifier.

Test script:
---------------
<?=(preg_match('#Ф#uiS', 'ф') == preg_match('#Ф#ui', 'ф')) ?
"passed" : "failed"?>

Expected result:
----------------
"passed"

Actual result:
--------------
"failed"


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



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

Reply via email to