On Friday 21 January 2005 02:16, Tim Boring wrote: > It's perfectly legit to use expressions. Now perhaps there is something > wrong with the regex I'm trying to use, but using a regex in and of > itself is legal. > http://www.php.net/manual/en/control-structures.switch.php Yes, but comparing those expressions to: switch ($line) where $line is a string, doesn't make sense. See my other post. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php