Skip to content

Commit

Permalink
docs: add missing backtick (#2302)
Browse files Browse the repository at this point in the history
Add a single backtick causing code rendering issue
  • Loading branch information
mael-belval authored Jul 11, 2024
1 parent 01c16c6 commit 06008ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/guide/essentials/route-matching-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Note that `*` technically also marks a parameter as optional but `?` parameters
If the route segment contains more than **just an optional parameter**, it won't match a path **without the trailing slash**. For example:

- `/users/:uid?-:name?` won't match `/users`, only `/users/-` or even `/users/-/`
- `/users/:uid(\\d+)?:name? won't match `/users`, only `/users/`, `/users/2`, `/users/2/`, etc
- `/users/:uid(\\d+)?:name?` won't match `/users`, only `/users/`, `/users/2`, `/users/2/`, etc

You can play around with the matching syntax [in the playground](https://paths.esm.dev/?p=AAMsIPQg4AoKzidgQFoEXAmw-IEBBRYYOE0SkABTASiz1qgBpgQA1QTsFjAb3h2onsmlAmGIFsCXjXh4AIA.&t=/users/2/#)

Expand Down

0 comments on commit 06008ba

Please sign in to comment.