Re: Sterilizing regexp
| From: | tedd | Date: | Wed, 01 Oct 2008 13:02:24 +0000 |
| Subject: | Re: Sterilizing regexp | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281275@lists.php.net to get a copy of this message | ||
At 8:53 AM +0200 10/1/08, Per Jessen wrote:
Code elegance is usually in the eye of the beholder, but personally I would have stuck to a set of hardcoded preg_matches(). /Per Jessen, ZürichI agree, however with this caveat: Code elegance is in the eye of the beholder. It is usually painful and difficult to remove. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com