is-glob
Advanced tools
Comparing version 1.0.0 to 1.1.0
/*! | ||
* is-glob <https://github.com/jonschlinkert/is-glob> | ||
* | ||
* Copyright (c) 2014-2015 Jon Schlinkert. | ||
* Copyright (c) 2014-2015, Jon Schlinkert. | ||
* Licensed under the MIT License | ||
@@ -10,3 +10,3 @@ */ | ||
return typeof str === 'string' | ||
&& /[*{}?[\]]|\([^|]*\|[^)]*\)/.test(str); | ||
&& /[!*{}?(|)[\]]/.test(str); | ||
}; |
{ | ||
"name": "is-glob", | ||
"description": "Returns `true` if the given string looks like a glob pattern.", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"homepage": "https://github.com/jonschlinkert/is-glob", | ||
@@ -33,9 +33,12 @@ "author": { | ||
"keywords": [ | ||
"bash", | ||
"braces", | ||
"check", | ||
"exec", | ||
"expression", | ||
"glob", | ||
"globstar", | ||
"match", | ||
"matches", | ||
"pattern", | ||
"re", | ||
"regex", | ||
@@ -42,0 +45,0 @@ "regular", |
@@ -60,2 +60,2 @@ # is-glob [![NPM version](https://badge.fury.io/js/is-glob.svg)](http://badge.fury.io/js/is-glob) | ||
_This file was generated by [verb](https://github.com/assemble/verb) on January 13, 2015._ | ||
_This file was generated by [verb](https://github.com/assemble/verb) on January 16, 2015._ |
Sorry, the diff of this file is not supported yet
3460