dasel icon indicating copy to clipboard operation
dasel copied to clipboard

Allow filtering results with regex

Open ypicard opened this issue 4 years ago • 1 comments

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.

ypicard avatar Nov 18 '21 18:11 ypicard

I definitely want to support this. I'll be looking at supporting this in future releases.

TomWright avatar Jan 04 '22 14:01 TomWright