This allows users to specify whether each regex in NERDTreeIgnore should apply to only files or only dirs.