On Jul 30, 2009, at 7:12 AM, Alexey Zakhlestin wrote:
Implemented functions:
- mb_ereg()
- mb_ereg_replace()
as ereg functions are deprecated in 5.3, are these still needed?
these have nothing in common with "those" ereg functions. these are
based on onuguruma regex library
http://www.geocities.jp/kosako3/oniguruma/
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.
-- Gwynne
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php