ID: 25399
User updated by: ibar at 163 dot com
Reported By: ibar at 163 dot com
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Redhat 7.2
PHP Version: 4.3.3
New Comment:
Excuse me, the answer from you refered the word "regexp", but I cann't
catch its exact meaning, can you give me an detailed explaination?
Thanks a lot.
Previous Comments:
------------------------------------------------------------------------
[2003-09-06 19:17:40] [EMAIL PROTECTED]
Your regexp is broken. Not bug. (you need to escape | char)
------------------------------------------------------------------------
[2003-09-06 08:45:36] ibar at 163 dot com
Description:
------------
i can't replace the"four" in big5 chinese letter
eg:ereg_replace('�|','4'$str);
error instruct:Warning: ereg_replace(): REG_EMPTY in /dir/file.php on
line 50
Reproduce code:
---------------
$str=ereg_replace('�|',"4",$str);
Expected result:
----------------
return 4
Actual result:
--------------
Warning: ereg_replace(): REG_EMPTY in /dir/file.php on line 50
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25399&edit=1