Skip to content

Commit

Permalink
docs: reorder symbols (#2296)
Browse files Browse the repository at this point in the history
* docs: reorder symbols

* Update packages/docs/guide/essentials/route-matching-syntax.md

---------

Co-authored-by: Eduardo San Martin Morote <[email protected]>
  • Loading branch information
cwj0417 and posva authored Jul 9, 2024
1 parent 37f6cbd commit fa66af9
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 @@ -24,7 +24,7 @@ const routes = [
]
```

But in some scenarios we don't want to add that static section `/o`/`p`. However, `orderId` is always a number while `productName` can be anything, so we can specify a custom regex for a param in parentheses:
But in some scenarios, we don't want to add that static section `/o` or `/p`. However, `orderId` is always a number while `productName` can be anything so we can specify a custom regex for a param in parentheses:

```js
const routes = [
Expand Down

0 comments on commit fa66af9

Please sign in to comment.