diff --git a/gateway/path/resolver.go b/gateway/path/resolver.go index 6436347ef91..6926f8d8ed7 100644 --- a/gateway/path/resolver.go +++ b/gateway/path/resolver.go @@ -15,7 +15,7 @@ const ( Separator = "/" rePath = "(?P.*)" - reReference = "(?P[a-z0-9\\-]+)" + reReference = `(?P\w[-\w]*)` ) var (