Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-31 Thread Alexey Zakhlestin
On Fri, Jul 31, 2009 at 12:19 PM, Moriyoshi Koizumi wrote: > I also created a separate oniguruma extension that you can browse at > http://github.com/moriyoshi/php-oniguruma/ cool! will take a look at it -- Alexey Zakhlestin http://www.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Developm

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-31 Thread Moriyoshi Koizumi
On Thu, Jul 30, 2009 at 8:05 PM, Niel Archer wrote: >> Implemented functions: >> >> - mb_ereg() >> - mb_ereg_replace() > > as ereg functions are deprecated in 5.3, are these still needed? mb_ereg_XXX() have nothing to do with the plain ereg functions. They are named so purely for the historical re

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-31 Thread Moriyoshi Koizumi
On Thu, Jul 30, 2009 at 7:21 PM, Alexey Zakhlestin wrote: > 2009/7/26 Moriyoshi Koizumi : > >> - 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 th

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-30 Thread Gwynne Raskind
On Jul 30, 2009, at 11:27 AM, Stefan Walk wrote: 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), http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt - Paragraph 8, example 2 - specifying the nest level for subrouti

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-30 Thread Gwynne Raskind
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.geocitie

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-30 Thread Alexey Zakhlestin
On Thu, Jul 30, 2009 at 3:05 PM, Niel Archer 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://w

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-30 Thread Niel Archer
> Hi there, > > I almost finished an alternative implementation of mbstring that uses > ICU instead of the exotic libmbfl in hope of replacing the current one > for 5.4 (and possibly, 6.0.) > > Although there are admittingly some known incompatibilities that need > extra libraries to resolve them

Re: [PHP-DEV] Alternative mbstring implementation using ICU

2009-07-30 Thread Alexey Zakhlestin
2009/7/26 Moriyoshi Koizumi : > - 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 sta

[PHP-DEV] Alternative mbstring implementation using ICU

2009-07-26 Thread Moriyoshi Koizumi
Hi there, I almost finished an alternative implementation of mbstring that uses ICU instead of the exotic libmbfl in hope of replacing the current one for 5.4 (and possibly, 6.0.) Although there are admittingly some known incompatibilities that need extra libraries to resolve them besides a numbe