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