-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Hello,
I am using extglob v2.0.2 and node v8.9.0.
As the title states, there is a case where a pattern does not match where I thought it would.
extglob.makeRe("!(*.js|*.json)").test("a.js.gz") === true // KO
extglob.makeRe("!(*.js|*.json)").test("a.json.gz") === true // KO
extglob.makeRe("!(*.js|*.json)").test("a.gz") === true // OKShould this not match or is it a bug?