Merge branch 'newMagic' of https://github.com/n1073645/CyberChef into n1073645-newMagic

This commit is contained in:
n1474335 2020-03-20 14:51:40 +00:00
commit 26fa66ef64
44 changed files with 907 additions and 408 deletions

View file

@ -163,7 +163,7 @@ class RegularExpression extends Operation {
case "List matches with capture groups":
return Utils.escapeHtml(regexList(input, regex, displayTotal, true, true));
default:
return "Error: Invalid output format";
throw new OperationError("Error: Invalid output format");
}
} catch (err) {
throw new OperationError("Invalid regex. Details: " + err.message);