From 96a048c4ce20fe7cd00f5b4a4a340db32796df3a Mon Sep 17 00:00:00 2001 From: Kurochan Date: Tue, 31 Oct 2023 23:48:23 +0900 Subject: [PATCH] Improve example for regex Signed-off-by: kurochan --- .../en/docs-v0.45.x/user-guide/configuration-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/en/docs-v0.45.x/user-guide/configuration-reference.md b/docs/content/en/docs-v0.45.x/user-guide/configuration-reference.md index 68b0bcdaae..3375e80382 100644 --- a/docs/content/en/docs-v0.45.x/user-guide/configuration-reference.md +++ b/docs/content/en/docs-v0.45.x/user-guide/configuration-reference.md @@ -198,7 +198,7 @@ One of `yamlField` or `regex` is required. |-|-|-|-| | file | string | The relative path from the repository root to the file to be updated. | Yes | | yamlField | string | The yaml path to the field to be updated. It requires to start with `$` which represents the root element. e.g. `$.foo.bar[0].baz`. | No | -| regex | string | The regex string that specify what should be replaced. The only first capturing group enclosed by `()` will be replaced with the new value. e.g. `host.xz/foo/bar:(v[0-9].[0-9].[0-9])` | No | +| regex | string | The regex string that specify what should be replaced. The only first capturing group enclosed by `()` will be replaced with the new value. e.g. `host.xz/foo/bar:(v[0-9]+.[0-9]+.[0-9]+)` | No | ## CommitMatcher