Re: POSIX regex

From: Date: Mon, 16 Jul 2007 13:53:03 +0000
Subject: Re: POSIX regex
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-30980@lists.php.net to get a copy of this message
Ilia Alshanetsky wrote:
On 16-Jul-07, at 9:46 AM, Andi Gutmans wrote:
Why move it to PECL? I agree that PCRE is the preferred way but not having ereg() will break a huge amount of applications for very little gain.
I tend to agree, unless we provide wrappers via PCRE that emulate ereg functionality I don't think we can remove posix regex until PHP 6.
Doing before PHP6 would require some very very solid wrappers. Giving the little phpt coverage (*) we currently seem to have for ereg, I do not think its really possible to be able to even determine if any attempt at a wrapper is truely solid or not. regards, Lukas (*) Actually I heard this said on IRC. I do not see an ext/ereg on gcov.php.net .. are the available tests part of regexp?

« previous php.internals (#30980) next »