File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
framework-docs/modules/ROOT/pages/web/webflux/controller Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,11 @@ You can map requests by using glob patterns and wildcards:
112112| `+{name}+`
113113| Matches a path segment and captures it as a variable named "name"
114114| `+"/projects/{project}/versions"+` matches `+"/projects/spring/versions"+` and captures `+project=spring+`
115+ `+"/projects/{project}/versions"+` does not match `+"/projects/spring/framework/versions"+` as it captures a single path segment.
115116
116- | `+ {name:[a-z]+}+ `
117- | Matches the regexp `+" [a-z]+" +` as a path variable named "name"
118- | `+" /projects/{project:[a-z]+}/versions"+ ` matches `+" /projects/spring/versions"+ ` but not `+" /projects/spring1/versions"+ `
117+ | `{name:[a-z]+}`
118+ | Matches the regexp `[a-z]+` as a path variable named "name"
119+ | `/projects/{project:[a-z]+}/versions` matches `/projects/spring/versions` but not `/projects/spring1/versions`
119120
120121| `+{*path}+`
121122| Matches zero or more path segments until the end of the path and captures it as a variable named "path"
You can’t perform that action at this time.
0 commit comments