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

RFE: add glob matching to rpm expressions #2350

Open
mlschroe opened this issue Jan 13, 2023 · 1 comment
Open

RFE: add glob matching to rpm expressions #2350

mlschroe opened this issue Jan 13, 2023 · 1 comment
Labels

Comments

@mlschroe
Copy link
Contributor

I just had a use case where I needed glob matching in an rpm expression. Is that something we should add?
We could define a new operator like "string" ~~ "glob" or hijack an existing one that currently throws an error like "string" * "glob". Of course we can also use a function like match("string", "glob").

@pmatilai
Copy link
Member

pmatilai commented Jan 13, 2023

By all means.

My gut feeling says a function will find more users, but if an additional shortcut syntax in expressions seems useful then why not. But that's from somebody who never felt the need to do globs in macros/expressions, so YMMV...

@pmatilai pmatilai added the RFE label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants