mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Linting and tidy up
This commit is contained in:
parent
1118ff598d
commit
47ccafcbb2
@ -33,23 +33,6 @@ class FromBase85 extends Operation {
|
||||
value: ALPHABET_OPTIONS
|
||||
},
|
||||
];
|
||||
this.patterns = [
|
||||
{
|
||||
match: "^\\s*(<~)?([!-u]{4})+([!-u]{1,3})??(~>)?\\s*$",
|
||||
flags: "",
|
||||
args: ["!-u", true]
|
||||
},
|
||||
{
|
||||
match: "^\\s*(<~)?([0-9A-Z.-:+=^!/*?&<>()[]{}@%$#]{4})+([0-9A-Z.-:+=^!/*?&<>()[]{}@%$#]{1,3})??(~>)?\\s*$",
|
||||
flags: "i",
|
||||
args: ["0-9a-zA-Z.-:+=^!/*?&<>()[]{}@%$#", true]
|
||||
},
|
||||
{
|
||||
match: "^\\s*(<~)?([0-9A-Z.-:+=^!/*?&_<>()[]{}@%$#;`|~]{4})+([0-9A-Z.-:+=^!/*?&_<>()[]{}@%$#;`|~]{1,3})??(~>)?\\s*$",
|
||||
flags: "i",
|
||||
args: ["0-9A-Za-z!#$%&()*+-;<=>?@^_`{|~}", true]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -25,13 +25,6 @@ class FromBraille extends Operation {
|
||||
this.inputType = "string";
|
||||
this.outputType = "string";
|
||||
this.args = [];
|
||||
this.patterns = [
|
||||
{
|
||||
match: "^\\s*[⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿]+\\s*$",
|
||||
flags: "i",
|
||||
args: [true]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user