mirror of
https://github.com/gchq/CyberChef
synced 2026-01-10 04:23:42 +00:00
Reduced byte length in 'Unescape Unicode Characters'
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user