nl_tokens: Creates the function which checks whether a file path is matched with the given pattern or not .
pl_tokens: function createMatch ( includePatterns , excludePatterns ) { const include = includePatterns . map ( pattern => new Minimatch ( pattern ) ) const exclude = excludePatterns . map ( <mask> => new Minimatch ( pattern ) ) return filePath => include . some ( m => m . match ( filePath ) ) && ! exclude . some ( m => m . match ( filePath ) ) }