On Thu, Jul 30, 2009 at 7:21 PM, Alexey Zakhlestin<indey...@gmail.com> wrote: > 2009/7/26 Moriyoshi Koizumi <m...@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/ > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php