Merge pull request #434 from ThomasOrlita/patch-1

Add info about regex groups with named parameters
pull/445/head
Mike Cao 4 years ago committed by GitHub
commit 6e9768503a
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 ## Optional Parameters
You can specify named parameters that are optional for matching by wrapping You can specify named parameters that are optional for matching by wrapping

Loading…
Cancel
Save