Skip to content

Commit

Permalink
fix: colon in front of dynamic segments
Browse files Browse the repository at this point in the history
  • Loading branch information
pReya authored and molefrog committed Jan 10, 2024
1 parent 494bb7c commit 5c232aa
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 @@ -457,7 +457,7 @@ const [match, params] = useRoute("/users/:name");
Express, and it supports the following patterns:

- Named dynamic segments: `/users/:foo`.
- Dynamic segments with modifiers: `/foo/:bar*`, `/foo/baz?` or `/foo/bar+`.
- Dynamic segments with modifiers: `/foo/:bar*`, `/foo/:baz?` or `/foo/:bar+`.

The library was designed to be as small as possible, so most of the additional matching features
were left out (see [this issue](https://github.com/molefrog/wouter/issues/1) for more info).
Expand Down

0 comments on commit 5c232aa

Please sign in to comment.