RE: [PHP-I18N] problem with mbstring (search)functions
| From: | Simon Dedeyne | Date: | Fri, 24 Jan 2003 15:20:25 +0000 |
| Subject: | RE: [PHP-I18N] problem with mbstring (search)functions | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-425@lists.php.net to get a copy of this message | ||
Hi,
Yes, I tried mb_ereg, and I've got the same problem, so it must be a
bug,
However I followed your suggestion and used regular ereg function and
that works. I suppose it would be really nice to see some kind of
dedicated Japanese language and PHP tutorial around...
Well, wishfull thinking!
Thanks for the reply.
Simon
Hi,
> Warning: mb_ereg_search()[function.mb-ereg-search]:mbregex compile
> err: premature end of regular expression in c:\myfile.php on line 12.
Did you try mb_ereg() yet? if you see the same error message with it,
it's possibly a bug.
http://www.php.net/mb_ereg
And you can use preg_* functions as well if your scripts use UTF-8 only.
Regards,
Moriyoshi