Add info about regex groups with named parameters

I think this should be mentioned in the docs, see #277 and #324
pull/434/head
Thomas Orlita 4 years ago committed by GitHub
parent bc5e03ca59
commit 6f9cd0c195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -194,6 +194,8 @@ Flight::route('/@name/@id:[0-9]{3}', function($name, $id){
});
```
Matching regex groups `()` with named parameters isn't supported.
## Optional Parameters
You can specify named parameters that are optional for matching by wrapping

Loading…
Cancel
Save