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

View File

@ -68,7 +68,6 @@ b: 2
``` ```
## from_entries with numeric key indices ## from_entries with numeric key indices
from_entries always creates a map, even for numeric keys from_entries always creates a map, even for numeric keys
Given a sample.yml file of: Given a sample.yml file of:

View File

@ -298,7 +298,7 @@ false
``` ```
## Substitute / Replace string ## 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. Note the use of `|=` to run in context of the current string value.
Given a sample.yml file of: Given a sample.yml file of:
@ -315,7 +315,7 @@ a: cats are great
``` ```
## Substitute / Replace string with regex ## 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. Note the use of `|=` to run in context of the current string value.
Given a sample.yml file of: Given a sample.yml file of: