snivilised / extendio

🐋 extentions to Go standard io library
MIT License
1 stars 0 forks source link

add exclusion to extended glob filter #410

Closed plastikfan closed 9 months ago

plastikfan commented 9 months ago

allow the client to augment the pattern with an additional glob that denotes exclusion, which means the file/folder name must match the main glob but not match the exclusion glob. So the filter can be defined in the form:

\<main-glob>/\<exclusion-glob>