Skip to content

Commit 9696adb

Browse files
committed
Fix AsciiDoc rendering of path variable regex example
Signed off: Ronick Romulus [email protected]
1 parent 9e9d716 commit 9696adb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-requestmapping.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ You can map requests by using glob patterns and wildcards:
135135

136136
`+"/projects/{project}/versions"+` does not match `+"/projects/spring/framework/versions"+` as it captures a single path segment.
137137

138-
| `+{name:[a-z]+}+`
139-
| Matches the regexp `+"[a-z]+"+` as a path variable named "name"
140-
| `+"/projects/{project:[a-z]+}/versions"+` matches `+"/projects/spring/versions"+` but not `+"/projects/spring1/versions"+`
138+
| `+{name:[a-z]+++}+`
139+
| Matches the regexp `+"[a-z]+++"+` as a path variable named "name"
140+
| `+"/projects/{project:[a-z]+++}/versions"+` matches `+"/projects/spring/versions"+` but not `+"/projects/spring1/versions"+`
141141

142142
| `+{*path}+`
143143
| Matches zero or more path segments and captures it as a variable named "path"

0 commit comments

Comments
 (0)