Skip to content

Commit

Permalink
Improve example for regex (#4644)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurochan committed Nov 1, 2023
1 parent d2dcafa commit afadde6
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 afadde6

Please sign in to comment.