Added regex support for testing against directory names.   This is useful when excluding certain directories such as 'node_modules' with the following pattern: -r '^((?!node_modules).)*$'

All tests pass