Re: [PATCH] ereg to pcre conversion
| From: | Stig S. Bakken | Date: | Fri, 01 Nov 2002 23:54:45 +0000 |
| Subject: | Re: [PATCH] ereg to pcre conversion | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90431@lists.php.net to get a copy of this message | ||
On Fri, 2002-11-01 at 18:28, Jani Taskinen wrote:
> On Fri, 1 Nov 2002, Sander Roobol wrote:
>
> >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.
>
> IMO if some behaviour of ereg_* is simply wrong, and this change
> "fixes" it, it's acceptable 'breaking of BC'. :)
Such as?
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb