Re: [PATCH] ereg to pcre conversion
| From: | Sander Roobol | Date: | Fri, 01 Nov 2002 09:55:19 +0000 |
| Subject: | Re: [PATCH] ereg to pcre conversion | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90402@lists.php.net to get a copy of this message | ||
On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote:
> I would like to propose that we drop the old ereg library and use only
> a single regular expression library, PCRE. For BC purposes I've written a
> patch (see attached file), which emulates the old ereg_* functions for people
> who still rely on those, using PCRE.
We probably have to make a bunch of tests to see if we don't break BC
with this patch. If we don't break BC, and only then, I would give +1 on
this patch. Too many people rely on the ereg_* functions, so IMO we
really can't afford changing any behaviour.
Sander