1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:07:59 +01:00

Fix the Unicode escape regex in the next-to-last commit.

This commit is contained in:
Štěpán Němec
2010-10-13 00:14:00 +02:00
parent e1b591dd14
commit f29ba9cfa7

View File

@@ -975,7 +975,7 @@ const Commands = Module("commands", {
let quote = null; let quote = null;
let len = str.length; let len = str.length;
function fixEscapes(str) str.replace(/\\(?:["\\\/bfnrt]|u[a-fA-F]{4}|(.))/g, function (m, n1) n1 || m); function fixEscapes(str) str.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4}|(.))/g, function (m, n1) n1 || m);
// Fix me. // Fix me.
if (isString(sep)) if (isString(sep))