ID:               35597
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kenneth_jiang70 at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         mbstring related
 Operating System: Linux
 PHP Version:      5.1.1
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





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

[2005-12-08 12:15:08] kenneth_jiang70 at hotmail dot com

Description:
------------
mb_ereg() bug in php 5.05

linux OP 
charset=utf-8
string to be searched is Chinese-simplified character
string pattern: \s

Problem: wrong result

Reproduce code:
---------------
   <?php
   $userid="ºº×Ö";
   if(mb_ereg("\s",$userid))
   {
    echo "found space";
   }
   else
   {
    echo "not found space";
   }
   ?>



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


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

Reply via email to