2 * is-posix-bracket <https://github.com/jonschlinkert/is-posix-bracket>
4 * Copyright (c) 2015-2016, Jon Schlinkert.
5 * Licensed under the MIT License.
8 module.exports = function isPosixBracket(str) {
9 return typeof str === 'string' && /\[([:.=+])(?:[^\[\]]|)+\1\]/.test(str);