node-directory-tree icon indicating copy to clipboard operation
node-directory-tree copied to clipboard

filter filename by regex?

Open sunjeen opened this issue 3 years ago • 1 comments

Hi

would this feature supported in future?

for example, filter out all the file not matching the regex

sunjeen avatar May 18 '21 10:05 sunjeen

Hi! To be fair, this is kind of implemented already, as in the extension filtering is implemented to support regex. So we could pretty much replace "extension" with filename filtering, or something like that. It would be probably closer to being correct, as there could be files with ".some.multi.extension" which might confuse things.

Maybe I'll get soon to adding this or feel free to submit a PR. 🙏

mihneadb avatar May 19 '21 19:05 mihneadb