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 fa89404 commit a74ddc1Copy full SHA for a74ddc1
packages/expression-parser/index.js
@@ -10,7 +10,7 @@ const unexpectedCharInExpression = 'Unexpected character %1.'
10
* @param {string} str - Raw string
11
* @returns {string} Escaped string.
12
*/
13
-var escapeStr = str => str.replace(/(?=[-[\](){^*+?.$|\\])/g, '\\')
+const escapeStr = str => str.replace(/(?=[-[\](){^*+?.$|\\])/g, '\\')
14
15
const $_ES6_BQ = '`'
16
0 commit comments