Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | vor 6 Jahren | |
---|---|---|
.. | ||
LICENSE | vor 7 Jahren | |
README.md | vor 7 Jahren | |
index.js | vor 7 Jahren | |
package.json | vor 6 Jahren |
Returns true if a string has an extglob.
npm i is-extglob --save
var isExtglob = require('is-extglob');
True
isExtglob('?(abc)');
isExtglob('@(abc)');
isExtglob('!(abc)');
isExtglob('*(abc)');
isExtglob('+(abc)');
False
Everything else...
isExtglob('foo.js');
isExtglob('!foo.js');
isExtglob('*.js');
isExtglob('**/abc.js');
isExtglob('abc/*.js');
isExtglob('abc/(aaa|bbb).js');
isExtglob('abc/[a-z].js');
isExtglob('abc/{a,b}.js');
isExtglob('abc/?.js');
isExtglob('abc.js');
isExtglob('abc/def/ghi.js');
Install dev dependencies.
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on March 06, 2015.