We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f2449 commit 7b7ec1bCopy full SHA for 7b7ec1b
index.js
@@ -20,7 +20,7 @@ exports.configure = configure
20
module.exports = stringify
21
22
// eslint-disable-next-line no-control-regex
23
-const strEscapeSequencesRegExp = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/
+const strEscapeSequencesRegExp = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]/
24
25
// Escape C0 control characters, double quotes, the backslash and every code
26
// unit with a numeric value in the inclusive range 0xD800 to 0xDFFF.
0 commit comments