tidy regex in route parser