Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regex support for -a #63

Open
xkcd386at opened this issue Nov 24, 2022 · 2 comments
Open

regex support for -a #63

xkcd386at opened this issue Nov 24, 2022 · 2 comments

Comments

@xkcd386at
Copy link

xkcd386at commented Nov 24, 2022

Hi

Thanks for a great tool; makes so many things easier on various machines!

Some of my eget commands appear to be using asset filtering like -a tar.gz -a ^sig (e.g., caddyserver/caddy is one example off the top of my head).

Would be nice to be able to say -a tar.gz$. I saw some mention of regex in various issues, but they all appeared to be more about priority between --system and --asset.

Please note this is only about convenience, so I'm OK if your response is a WONTFIX, but had to ask anyway :)

@zyedidia
Copy link
Owner

Hmm I've been trying to avoiding using regexes to reduce the complexity, and avoid problems with special characters like .. I wonder if the best solution is to have a new option for special cases that is like -a but uses a regex.

@patinthehat
Copy link
Contributor

This is something I'd be interested in working on if no one else wants to pick it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants