Re: Sterilizing regexp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Stanovcak wrote:

> I've got to pass about 9 or 10 calls to it, some of which will be
> arrays, and I have to do it from several different places.  Felt this
> was a bit more elegant than hard coding the pregmatches unless there
> is an  easier way.

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ürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux