Skip to content

Commit

Permalink
Add modifier suffix example using new {} syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Nov 22, 2019
1 parent d830155 commit 7b4078d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ regexp.exec("/test/route");

#### Modifiers

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

##### Optional

Expand Down

0 comments on commit 7b4078d

Please sign in to comment.