Eric Foster d5378345de connection between front end and database | 6 лет назад | |
---|---|---|
.. | ||
LICENSE | 6 лет назад | |
README.md | 6 лет назад | |
index.js | 6 лет назад | |
package.json | 6 лет назад |
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.