Re: Alternative mbstring implementation using ICU
| From: | Moriyoshi Koizumi | Date: | Fri, 31 Jul 2009 08:19:00 +0000 |
| Subject: | Re: Alternative mbstring implementation using ICU | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45160@lists.php.net to get a copy of this message | ||
On Thu, Jul 30, 2009 at 7:21 PM, Alexey Zakhlestin<indeyets@gmail.com> wrote:
> 2009/7/26 Moriyoshi Koizumi <mozo@mozo.jp>:
>
>> - mb_ereg_search(), mb_ereg_search_getpos(), mb_ereg_search_getregs(),
>> mb_ereg_search_init(), mb_ereg_search_pos(), mb_ereg_search_regs() and
>> mb_ereg_search_setpos()
>> I rarely heard a script that actively uses these functions. They
>> involve an internal state that is not visible to users, and thus it
>> most likely causes confusion when used across the function calls.
>> Need to be reimplemented as a class.
>
> I actually do use these. ;)
> Probably, it will make sense to implement a completely new oniguruma
> extension instead of keeping it as a part of mb_?
I'm planng to reimplement them as a single SPL iterator. As I noted,
I also created a separate oniguruma extension that you can browse at
http://github.com/moriyoshi/php-oniguruma/
Regards,
Moriyoshi
> --
> Alexey Zakhlestin
> http://www.milkfarmsoft.com/
>