fitzgen/glob-to-regexp

Support negations

Opened this issue · 1 comments

This library doesn't support negation globs, here are the docs about it

For example calling globToRegExp('!*.js') returns /^\!.*\.js$/, which matches strings that start with the character !.

It should return a negative regex (lookahead?) instead.