--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
10
node_modules/is-posix-bracket/index.js
generated
vendored
Normal file
10
node_modules/is-posix-bracket/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/*!
|
||||
* is-posix-bracket <https://github.com/jonschlinkert/is-posix-bracket>
|
||||
*
|
||||
* Copyright (c) 2015-2016, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
module.exports = function isPosixBracket(str) {
|
||||
return typeof str === 'string' && /\[([:.=+])(?:[^\[\]]|)+\1\]/.test(str);
|
||||
};
|
||||
Loading…
Reference in a new issue