mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-13 17:46:53 -04:00
Added the magic flag to regexes to say whether it is useful for magic to use
This commit is contained in:
parent
4d9fb7ef58
commit
8df9d6fcf6
43 changed files with 142 additions and 32 deletions
|
@ -49,16 +49,19 @@ class EscapeUnicodeCharacters extends Operation {
|
|||
{
|
||||
match: "\\\\u(?:[\\da-f]{4,6})",
|
||||
flags: "i",
|
||||
magic: true,
|
||||
args: ["\\u"]
|
||||
},
|
||||
{
|
||||
match: "%u(?:[\\da-f]{4,6})",
|
||||
flags: "i",
|
||||
magic: true,
|
||||
args: ["%u"]
|
||||
},
|
||||
{
|
||||
match: "U\\+(?:[\\da-f]{4,6})",
|
||||
flags: "i",
|
||||
magic: true,
|
||||
args: ["U+"]
|
||||
},
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue