.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / astral-regex / index.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/astral-regex/index.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/astral-regex/index.js
new file mode 100644 (file)
index 0000000..651177d
--- /dev/null
@@ -0,0 +1,6 @@
+'use strict';
+const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]';
+
+const astralRegex = options => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g');
+
+module.exports = astralRegex;