use Minimatch class to improve perf, fixes #29; fix RegExp handling

Fixed some issues with RegExp `globs` arguments -- although per #29 regexes should always be negative, they seemed to be treated as positive until now.