Skip to content

Commit

Permalink
Improve example for regex
Browse files Browse the repository at this point in the history
Signed-off-by: kurochan <kuro@kurochan.org>
  • Loading branch information
kurochan committed Oct 31, 2023
1 parent d2dcafa commit 96a048c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 96a048c

Please sign in to comment.