Reduced byte length in 'Unescape Unicode Characters'

This commit is contained in:
n1474335 2018-02-16 13:33:33 +00:00
parent 5a2a649d8e
commit 5b1ac3de18
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const Unicode = {
*/
runUnescape: function(input, args) {
let prefix = Unicode._prefixToRegex[args[0]],
regex = new RegExp(prefix+"([a-f\\d]{4,6})", "ig"),
regex = new RegExp(prefix+"([a-f\\d]{4})", "ig"),
output = "",
m,
i = 0;