This commit is contained in:
Mike Farah
2023-03-16 13:41:10 +11:00
parent fa6fac1a76
commit ac8ffa287e
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -298,7 +298,7 @@ false
```
## Substitute / Replace string
This uses Golang's regex, described [here](https://github.com/google/re2/wiki/Syntax)
This uses Golang's regex, described [here](https://github.com/google/re2/wiki/Syntax).
Note the use of `|=` to run in context of the current string value.
Given a sample.yml file of:
@@ -315,7 +315,7 @@ a: cats are great
```
## Substitute / Replace string with regex
This uses Golang's regex, described [here](https://github.com/google/re2/wiki/Syntax)
This uses Golang's regex, described [here](https://github.com/google/re2/wiki/Syntax).
Note the use of `|=` to run in context of the current string value.
Given a sample.yml file of: