dasel
dasel copied to clipboard
Allow filtering results with regex
Is your feature request related to a problem? Please describe. I would like to be able to filter an array of json objects with a regexp on a given nested key.
Describe the solution you'd like
Something like jq would be nice: https://stedolan.github.io/jq/manual/#RegularexpressionsPCRE
Describe alternatives you've considered
Switching back to jq when my scenarios are more complex than just selecting / updating fields. But this adds back jq as a dependency in my projects, which i had managed to get rid of.
I definitely want to support this. I'll be looking at supporting this in future releases.