mirror of
https://github.com/mikefarah/yq.git
synced 2025-03-13 06:15:37 +00:00
doc gen
This commit is contained in:
parent
fa6fac1a76
commit
ac8ffa287e
@ -68,7 +68,6 @@ b: 2
|
||||
```
|
||||
|
||||
## from_entries with numeric key indices
|
||||
|
||||
from_entries always creates a map, even for numeric keys
|
||||
|
||||
Given a sample.yml file of:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user