mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 03:32:32 +02:00
Fix the Unicode escape regex in the next-to-last commit.
This commit is contained in:
1 parent
e1b591dd14
commit
f29ba9cfa7
1 file changed
+1
-1
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user