We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0c3a2 commit 4c2181eCopy full SHA for 4c2181e
1 file changed
docs/superpowers/specs/2026-05-22-extras-wildcard-design.md
@@ -21,7 +21,11 @@ just for them.
21
Two wildcards, usable anywhere in a path (not just trailing):
22
23
- `*` — matches exactly one path segment, i.e. one or more characters with no `/`.
24
-- `**` — matches zero or more characters, may cross `/` boundaries.
+- `**` — matches any number of characters including `/`. At a trailing
25
+ position (`/files/**`) it may match zero or more characters and so also
26
+ matches the bare prefix path (`/files/`). Between two literal segments
27
+ (`/schemas/**/openapi.yaml`) it must match at least one full intermediate
28
+ segment — the surrounding slashes still need real content between them.
29
30
Patterns containing neither `*` nor `**` are treated as exact paths (current
31
behaviour, no semantic change).
0 commit comments