nikic / FastRoute

Fast request router for PHP
Other
5.13k stars 445 forks source link

Global regex for uuid #208

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hey, I was wondering whether or not it was possible to set a global regex for a parameter.

For example, every route pattern that contains {uuid} must use a globally set regex constraint. I'm using this library through Lumen but I figured I had to ask this here.