dsc icon indicating copy to clipboard operation
dsc copied to clipboard

Allow multiple --matches and --not-matches patterns

Open eikek opened this issue 3 years ago • 3 comments

They could all be tried and first match wins.

eikek avatar Feb 24 '22 22:02 eikek

You mean as an OR operation?

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

ScarletStar avatar Feb 25 '22 09:02 ScarletStar

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?

eikek avatar Feb 25 '22 15:02 eikek

That's all I can think of for now 🤔

ScarletStar avatar Feb 25 '22 21:02 ScarletStar