preg match on route variables