mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
manual fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user