Re: [PHP4BETA] CVS update: php4/ext/pcre
| From: | Stig Bakken | Date: | Wed, 26 May 1999 14:46:55 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4/ext/pcre | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1071@lists.php.net to get a copy of this message | ||
On Wed, 26 May 1999, Bjorn Borud wrote:
> [Stig Bakken]
> |
> | I think it is, ask how many people on php3@ have ever heard of
> | pcre
>
> *raises hand*
If I had written "dumb users on php3@", as I first intended, you would not
have trigged on this one Bjørn. :-)
> | "preg_" should be our preferred choice.
>
> I like "pcre_" because I don't believe in inventing new names for
> things when they already have a name.
>
> your name is Stig, but I'll refer to you as "Yipyip" because I think
> it sounds cooler.
It's very simple: "ereg" -> "Extended regexps", "preg" ->
"Perl regexps".
Your analogy means that the functions should be named after the regex
implementation they are using, which implies that our current functions
really should be named "hsreg"? Anyway, we can probably fight this one
out offline during our next smoking break ;-)
- Stig
--
PHP 4 Beta