]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: grammar (#628)
authorDan <webdanx@gmail.com>
Thu, 3 Dec 2020 08:09:56 +0000 (03:09 -0500)
committerGitHub <noreply@github.com>
Thu, 3 Dec 2020 08:09:56 +0000 (09:09 +0100)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
docs/guide/essentials/dynamic-matching.md

index b29ea7e9e8a10339e0fbb8cfbc359d3c7d5f0932..6dd128315ef7fda832e17aaf5d21caa8c0e79130 100644 (file)
@@ -88,7 +88,7 @@ const routes = [
 ]
 ```
 
-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:
+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:
 
 ```js
 this.$router.push({
@@ -103,4 +103,4 @@ If you are using [History mode](./history-mode.md), make sure to follow the inst
 
 ## Advanced Matching Patterns
 
-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.
+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.