nl_tokens: Helper functions Checks blackList - and whitList - regex against the given file name and returns if this file can be deleted .
pl_tokens: function checkPattern ( file , blackList , whiteList ) { if ( util . isRegExp ( blackList ) && blackList . test ( file ) ) { return <mask> ; } if ( util . isRegExp ( whiteList ) ) { if ( whiteList . test ( file ) ) { return true ; } return false ; } return true ; }