glob-to-regexp
glob-to-regexp copied to clipboard
Support negations
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.
Up