Regex Libraries

From: Date: Mon, 21 Oct 2002 12:30:53 +0000
Subject: Regex Libraries
Groups: php.dev 
Request: Send a blank email to php-dev+get-89793@lists.php.net to get a copy of this message
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. Ilia

« previous php.dev (#89793) next »