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

Allow multiple --matches and --not-matches patterns #135

Open
eikek opened this issue Feb 24, 2022 · 3 comments
Open

Allow multiple --matches and --not-matches patterns #135

eikek opened this issue Feb 24, 2022 · 3 comments

Comments

@eikek
Copy link
Member

eikek commented Feb 24, 2022

They could all be tried and first match wins.

@ScarletStar
Copy link

You mean as an OR operation?

I think something like this:
(matches OR matches OR ....) AND (not-matches OR not-matches OR ...)

@eikek
Copy link
Member Author

eikek commented Feb 25, 2022

Yes that's what I thought. If you specify multiple patterns in --matches at least one must match, same for --not-matches. But then both results are combined via AND. Or did you think of something else?

@ScarletStar
Copy link

That's all I can think of for now 🤔

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

2 participants