Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Support negations #15

Open
marcofugaro opened this issue Feb 13, 2018 · 1 comment
Open

Support negations #15

marcofugaro opened this issue Feb 13, 2018 · 1 comment

Comments

@marcofugaro
Copy link

marcofugaro commented Feb 13, 2018

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.

@flasaracina
Copy link

Up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants