mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-13 09:36:52 -04:00
Starting to rejig it
This commit is contained in:
parent
3fa3c31e31
commit
9f3b185f77
40 changed files with 131 additions and 82 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
import Operation from "../Operation.mjs";
|
||||
import magicObject from "../lib/MagicObject.mjs";
|
||||
|
||||
/**
|
||||
* Escape Unicode Characters operation
|
||||
|
@ -44,7 +45,7 @@ class EscapeUnicodeCharacters extends Operation {
|
|||
"value": true
|
||||
}
|
||||
];
|
||||
this.patterns = [
|
||||
this.checks = new magicObject([
|
||||
{
|
||||
match: "\\\\u(?:[\\da-f]{4,6})",
|
||||
flags: "i",
|
||||
|
@ -60,7 +61,7 @@ class EscapeUnicodeCharacters extends Operation {
|
|||
flags: "i",
|
||||
args: ["U+"]
|
||||
},
|
||||
];
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue