2 * is-glob <https://github.com/jonschlinkert/is-glob>
4 * Copyright (c) 2014-2015, Jon Schlinkert.
5 * Licensed under the MIT License.
8 var isExtglob = require('is-extglob');
10 module.exports = function isGlob(str) {
11 return typeof str === 'string'
12 && (/[*!?{}(|)[\]]/.test(str)