On Mon, Oct 21, 2002 at 08:30:53AM -0400, Ilia A. wrote:
> Currently PHP contains two bundled regular expression libraries, PECL and 
> regex. I am wondering if it would be a good idea to drop the old regex (dates 
> back to 1999) library and use only PECL. The advantage is performance, 
> cleaner code and a more flexible and more recent library. For the people who 
> still use ereg functions, we could create wrappers that would implement their 
> functionality using PECL and possibly add an E_NOTICE indicating that using 
> PECL function preg_* would be a better approach.

$mail = str_replace("PECL", "PCRE", $mail);
 
> Ilia

  Jan

-- 
http://jan.kneschke.de - localizer, modlogan, pxtools
mailto:jan@;kneschke.de - Jan Kneschke

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to