How to use regular expressions in Kong service path


#1

I want to route http://kong-gateway/api/v1/user/(?P<uuid>[\w\d\-]+) to http://user-service/user/(?P<uuid>[\w\d\-]+).

To do that, I need to create a service with host: user-service and path: /user/(?P<uuid>[\w\d\-]+). But when I try to create a service with these configurations with Kong Dashboard, Kong complains: character outside of the reserved list of RFC 3986.

How to solve this problem?