Skip to content

Commit 7b4078d

Browse files
committed
Add modifier suffix example using new {} syntax
1 parent d830155 commit 7b4078d

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
@@ -119,7 +119,7 @@ regexp.exec("/test/route");
119119

120120
#### Modifiers
121121

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

124124
##### Optional
125125

0 commit comments

Comments
 (0)