From 566adbcda5b3cf071d70402ab36cf73d5652c5e8 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 4 Jan 2018 17:48:01 +0000 Subject: [PATCH] 'Unescape string' operation now works with capitalised hex --- src/core/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Utils.js b/src/core/Utils.js index 3c3622fb..a72a319c 100755 --- a/src/core/Utils.js +++ b/src/core/Utils.js @@ -201,7 +201,7 @@ const Utils = { * Utils.parseEscapedChars("\\n"); */ parseEscapedChars: function(str) { - return str.replace(/(\\)?\\([nrtbf]|x[\da-f]{2})/g, function(m, a, b) { + return str.replace(/(\\)?\\([nrtbf]|x[\da-fA-F]{2})/g, function(m, a, b) { if (a === "\\") return "\\"+b; switch (b[0]) { case "n":