From: Dan Date: Thu, 3 Dec 2020 08:09:56 +0000 (-0500) Subject: docs: grammar (#628) X-Git-Tag: v4.0.0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba4b186d174787ead61de7616bd427472b567a50;p=thirdparty%2Fvuejs%2Frouter.git docs: grammar (#628) Co-authored-by: Eduardo San Martin Morote --- diff --git a/docs/guide/essentials/dynamic-matching.md b/docs/guide/essentials/dynamic-matching.md index b29ea7e9..6dd12831 100644 --- a/docs/guide/essentials/dynamic-matching.md +++ b/docs/guide/essentials/dynamic-matching.md @@ -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.