mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
Reduced byte length in 'Unescape Unicode Characters'
This commit is contained in:
parent
5a2a649d8e
commit
5b1ac3de18
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const Unicode = {
|
||||||
*/
|
*/
|
||||||
runUnescape: function(input, args) {
|
runUnescape: function(input, args) {
|
||||||
let prefix = Unicode._prefixToRegex[args[0]],
|
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 = "",
|
output = "",
|
||||||
m,
|
m,
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue