From 6f9cd0c19514b83349368599be9b3a6d09f7d2cf Mon Sep 17 00:00:00 2001 From: Thomas Orlita Date: Wed, 21 Apr 2021 20:38:00 +0200 Subject: [PATCH] Add info about regex groups with named parameters I think this should be mentioned in the docs, see #277 and #324 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 99231db..709a45c 100644 --- a/README.md +++ b/README.md @@ -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