You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`/files/:path*`|`/files` or `/files/a/b`|`{}` or `{ path: "a/b" }`|
113
+
114
+
-**Named params** (`:name`) match a single segment.
115
+
-**Wildcards** (`**`) match zero or more segments. Use `**:name` to capture.
116
+
-**Regex constraints** (`:name(regex)`) restrict matching. Constrained and unconstrained params can coexist on the same node (constrained checked first).
117
+
-**Unnamed groups** (`(regex)`) capture into auto-indexed keys `_0`, `_1`, etc.
118
+
-**Modifiers:**`:name?` (optional), `:name+` (one or more), `:name*` (zero or more). Can combine with regex: `:id(\d+)?`.
0 commit comments