[PHP-DEV] Fw: [PHP-DEV] Bug #1430: Regular expression with international locale. From: Brian Moon (brian <email protected>)
Date: 05/01/00

Was there ever any solution found for this? I am having this problem on
FreeBSD 3.1 and am using the bundled regex lib. On Windows and Linux I do
not have this problem.

Brian Moon
-------------------------------------------------------------------------
Phorum Dev Team - http://phorum.org
Making better forums with PHP
-------------------------------------------------------------------------

> From: haktan <email protected>
> Operating system: FreeBSD
> PHP version: 3.0.6
> PHP Bug Type: Misbehaving function
> Bug description: Regular expression with international locale.
>
> 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...").
>
>
> --
> PHP Development Mailing List http://www.php.net/
> To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
> For help: php-dev-help <email protected>
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>