Bug #1430 Updated: Regular expression with international locale.
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:31:00 +0000 |
| Subject: | Bug #1430 Updated: Regular expression with international locale. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10628@lists.php.net to get a copy of this message | ||
ID: 1430
Updated by: sander@php.net
Reported By: haktan@cybercity.dk
-Status: Open
+Status: Bogus
Bug Type: Misbehaving function
Operating System: FreeBSD
PHP Version: 3.0.6
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[1999-05-20 10:51:40] haktan@cybercity.dk
It seems to me, that regular expression doesn't work with international
character-set. When the regexpr-compiler sees an non-english character
it simply stops processing the remaining string.
For example:
$foo = ereg("([0-9]+):([a-zA-ZÆØÅæøå]*):([0-9]+)", "0:æøåAbcb:10",
$out);
Doesn't process the regular expression correctly.
I have tried to do a set_locale("da_DK...").
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=1430&edit=1