Replies: 2 comments
-
Isn't the
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The list entry The regex here basically matches everything inside the double quotes in a capture group.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm working on a GitHub action which will use
yq
to extract a value from a Kustomize K8s file, which uses key-value literals to build ConfigMaps.The subject text:
Attempted
yq
:Actual Result:
"1,10,3323,8888"
Desired Result:
1,10,3323,8888
This can be fixed outside of
yq
with additional piping totr -d '"'
, but I was wondering if there's a pattern to do so all within ayq
command. Thanks!Beta Was this translation helpful? Give feedback.
All reactions