fixed preg_match_all/preg_match for Route