Re: regex operators
| From: | Andi Gutmans | Date: | Wed, 15 Oct 2003 10:25:05 +0000 |
| Subject: | Re: regex operators | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4857@lists.php.net to get a copy of this message | ||
I suggest we wrap up this topic. As Rasmus said, I don't think there's a chance we'd agree to implement such regex operators (wether the singular or plural versions :)
Except for it pushing PHP in Perl's direction of being unreadable it doesn't really give any added value. I don't see how it is a significant improvement over using a function such as preg_match(). (Actually I think the latter is more readable).
Here's a small quote from Mr. Ritchie:
"A language that doesn't have everything is actually easier to program in than some that do." (Dennis M Ritchie)
I think Perl is a prime example of why the quote is correct.
Andi