fast-glob icon indicating copy to clipboard operation
fast-glob copied to clipboard

[doc] what is the behaviour of passing an array of patterns?

Open Offirmo opened this issue 2 years ago • 0 comments

Hi thanks for this precious tool. From the doc "Any correct pattern(s).", it's slightly unclear how passing an array of patterns work.

For a file to match, does it have to match ALL the patterns or ANY of the patterns?

I guess it's a mix of both AND(OR(positive patterns); !OR(negative patterns)) ?

Thanks for the clarification!

Offirmo avatar Nov 16 '23 03:11 Offirmo