From df0303d61b1dc0933b60c550f9a02e7784a42ed5 Mon Sep 17 00:00:00 2001 From: Joseph Tams Date: Wed, 18 Sep 2024 07:09:34 -0700 Subject: [PATCH] Fixed incorrect comment about routing (#887) The comment was meant to demonstrate how non-wildcard routes can match wilecard routes, but there was likely a typo that made it incorrect. --- chi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chi.go b/chi.go index 68443c46..fc32c4ef 100644 --- a/chi.go +++ b/chi.go @@ -51,7 +51,7 @@ // "/user/{name}" matches "/user/jsmith" but not "/user/jsmith/info" or "/user/jsmith/" // "/user/{name}/info" matches "/user/jsmith/info" // "/page/*" matches "/page/intro/latest" -// "/page/{other}/index" also matches "/page/intro/latest" +// "/page/{other}/latest" also matches "/page/intro/latest" // "/date/{yyyy:\\d\\d\\d\\d}/{mm:\\d\\d}/{dd:\\d\\d}" matches "/date/2017/04/01" package chi