mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
manual fixes
This commit is contained in:
parent
b33f73ac9a
commit
d05543db30
16 changed files with 57 additions and 37 deletions
|
@ -275,10 +275,11 @@ const StrUtils = {
|
|||
*/
|
||||
runFilter: function(input, args) {
|
||||
let delim = Utils.charRep[args[0]],
|
||||
regex,
|
||||
reverse = args[2];
|
||||
|
||||
try {
|
||||
var regex = new RegExp(args[1]);
|
||||
regex = new RegExp(args[1]);
|
||||
} catch (err) {
|
||||
return "Invalid regex. Details: " + err.message;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue