How to use regular expressions in Kong service path

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?

@fazlerabby7 did you manage to get it work ? i’m facing the same issue.

Still not, planning to write a plugin for this.

@thibaultcha need help.