Skip to content

Commit

Permalink
Improve example for regex (pipe-cd#4644)
Browse files Browse the repository at this point in the history
Signed-off-by: 鈴木 優耀 <suzuki_masaaki@cyberagent.co.jp>
  • Loading branch information
kurochan authored and 鈴木 優耀 committed Feb 12, 2024
1 parent 2e17160 commit 4dbfc6a
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 4dbfc6a

Please sign in to comment.