From df12fce0b2c8a3e2f78c14d3784eb5fa27fd476d Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Wed, 5 May 2021 12:38:10 +0200 Subject: [PATCH] docs: improve matchCurrentVersion docs (#9864) Co-authored-by: Michael Kriese <michael.kriese@visualon.de> --- docs/usage/configuration-options.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index 6f961960e7..4401d88a52 100644 --- a/docs/usage/configuration-options.md +++ b/docs/usage/configuration-options.md @@ -1364,10 +1364,10 @@ Use this field to restrict rules to a particular datasource. e.g. ### matchCurrentVersion -`matchCurrentVersion` can be an exact semver version or a semver range. +`matchCurrentVersion` can be an exact SemVer version or a SemVer range. -This field also supports Regular Expressions which have to begin and end with `/`. -For example, the following will enforce that only `1.*` versions: +This field also supports Regular Expressions which must begin and end with `/`. +For example, the following enforces that only `1.*` versions will be used: ```json { @@ -1380,8 +1380,8 @@ For example, the following will enforce that only `1.*` versions: } ``` -This field also supports a special negated regex syntax for ignoring certain versions. -Use the syntax `!/ /` like the following: +This field also supports a special negated regex syntax to ignore certain versions. +Use the syntax `!/ /` like this: ```json { -- GitLab