Re: [PHP4BETA] CVS update: php4/ext/pcre
| From: | Stig Bakken | Date: | Wed, 26 May 1999 10:04:47 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4/ext/pcre | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1061@lists.php.net to get a copy of this message | ||
On Tue, 25 May 1999, Andrey Zmievski wrote:
> Zeev Suraski wrote:
> > >I vote for "preg_" to match the "ereg_" functions. This would be
> > >the most logical choice, considering what is already in place.
> >
> > Sounds like a good idea to me.
>
> I never found ereg_ to be particularly descriptive of what they do. I don't
> know, but I like pcre_match and pcre_replace much better than preg and
> preg_replace. Any other opinions?
With "preg_" you don't have to think. With "pcre_" at least I have to
spell out "perl compatible ..." to remember the acronym. If that is true
for a majority of our users (I think it is, ask how many people on php3@
have ever heard of pcre), "preg_" should be our preferred choice.
- Stig
--
PHP 4 Beta