aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-posix-bracket/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/is-posix-bracket/index.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/is-posix-bracket/index.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-posix-bracket/index.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-posix-bracket/index.js
new file mode 100644
index 00000000..7cf1de55
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/is-posix-bracket/index.js
@@ -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);
+};