Skip to content

Commit ba4b186

Browse files
Danposva
andauthored
docs: grammar (vuejs#628)
Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent d18e500 commit ba4b186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/essentials/dynamic-matching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const routes = [
8888
]
8989
```
9090

91-
In this specific scenario we are using a [custom regexp](/guide/advanced/path-matching.md#custom-regexp) between parentheses and marking the `pathMatch` param as [optionally repeatable](/guide/advanced/path-matching.md#zero-or-more). This is to allows us to directly navigate to the route if we need to by splitting the `path` into an array:
91+
In this specific scenario we are using a [custom regexp](/guide/advanced/path-matching.md#custom-regexp) between parentheses and marking the `pathMatch` param as [optionally repeatable](/guide/advanced/path-matching.md#zero-or-more). This is to allow us to directly navigate to the route if we need to by splitting the `path` into an array:
9292

9393
```js
9494
this.$router.push({
@@ -103,4 +103,4 @@ If you are using [History mode](./history-mode.md), make sure to follow the inst
103103

104104
## Advanced Matching Patterns
105105

106-
Vue Router uses its own path matching, inspired to the one used by `express`, so it supports many advanced matching patterns such as optional params, zero or more / one or more requirements, and even custom regex patterns. Please check the [Advanced Matching](./route-matching-syntax.md) documentation to explore them.
106+
Vue Router uses its own path matching syntax, inspired by the one used by `express`, so it supports many advanced matching patterns such as optional params, zero or more / one or more requirements, and even custom regex patterns. Please check the [Advanced Matching](./route-matching-syntax.md) documentation to explore them.

0 commit comments

Comments
 (0)