Re: Alternative mbstring implementation using ICU
| From: | Gwynne Raskind | Date: | Thu, 30 Jul 2009 14:14:01 +0000 |
| Subject: | Re: Alternative mbstring implementation using ICU | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45143@lists.php.net to get a copy of this message | ||
On Jul 30, 2009, at 7:12 AM, Alexey Zakhlestin wrote:
I find Oniguruma to be, in general, a pared-down and less-useful version of the PCRE we already have. Given that PCRE has full support for UTF-8, and that there's nothing you can do with Oniguruma that you can't also practically do with PCRE (to the best of my knowledge), I think it would be best for PHP to standardize on a single regexp library, rather than offering competing and confusing options. Killing off POSIX syntax was a step in that direction, and I see no reason not to take the rest of the steps. If Oniguruma were offered as a PECL extension, I would think that perfectly reasonable, but I don't think it belongs in core. -- Gwynnethese have nothing in common with "those" ereg functions. these are based on onuguruma regex library http://www.geocities.jp/kosako3/oniguruma/Implemented functions: - mb_ereg() - mb_ereg_replace()as ereg functions are deprecated in 5.3, are these still needed?