glob-to-regexp icon indicating copy to clipboard operation
glob-to-regexp copied to clipboard

Support negations

Open marcofugaro opened this issue 7 years ago • 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.

marcofugaro avatar Feb 13 '18 15:02 marcofugaro

Up

flasaracina avatar Aug 20 '20 08:08 flasaracina