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 08ed408 commit b8a00b6Copy full SHA for b8a00b6
1 file changed
src/utils/make-string.js
@@ -1,6 +1,7 @@
1
/** @import {Quote} from "./get-preferred-quote.js" */
2
3
// Matches _any_ escape and unescaped quotes (both single and double).
4
+// Matching `\` in first group, so we won't treat `\\"` as escaped quote.
5
const REGEX = /\\(["'\\])|(["'])/gu;
6
7
/**
0 commit comments