2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-11 05:43:28 +00:00

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
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);