Skip to content

Commit fa25d4d

Browse files
committed
Add modifier suffix example using new {} syntax
1 parent 30f03fa commit fa25d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ fmt.Printf("%d %q\n", match.Index, match)
174174

175175
#### Modifiers
176176

177-
Modifiers must be placed after the parameter (e.g. `/:foo?`, `/(test)?`, or `/:foo(test)?`).
177+
Modifiers must be placed after the parameter (e.g. `/:foo?`, `/(test)?`, `/:foo(test)?`, or `{-:foo(test)}?`).
178178

179179
##### Optional
180180

0 commit comments

Comments
 (0)