How do I allow slashes in route parameters

Hi there

We have routes that contain slashes in route parameters, e.g.

index.php/api/product/list/100

How do I write a machting route for index.php/api/{resource}/{id}? In Symfony for example you can define a custom regex like ‘[^0-9]+’ and ‘[0-9]+’ for the first and second match.

Thanks

Toco