1
0
mirror of synced 2024-11-15 02:37:40 +01:00

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

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;