Re: [PHP4BETA] CVS update: php4/ext/pcre
| From: | Rasmus Lerdorf | Date: | Tue, 25 May 1999 18:16:09 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4/ext/pcre | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1022@lists.php.net to get a copy of this message | ||
> Eliminating preg()? I don't think there is such a function yet. Or did you
> mean ereg()?
Well, I meant that if someone familiar with ereg() and ereg_replace()
wanted to started using preg() and preg_replace() I could see them getting
confused if preg() didn't exist. They would then have to hunt through the
documentation to discover that they need to use preg_match() instead. I
agree that it is more descriptive, but it wouldn't be consistent with the
current regex functions.
-Rasmus
--
PHP 4 Beta