Tidied up the Magic operation

This commit is contained in:
n1474335 committed 2020-03-24 11:06:37 +00:00
1 parent 26fa66ef64
commit b765534b8b
43 files changed
+771 -900

No files matched your search

+6 -10
View File
@@ -40,17 +40,13 @@ class Unzip extends Operation {
value: false
}
];
this.checks = {
input: {
regex: [
{
match: "^\\x50\\x4b(?:\\x03|\\x05|\\x07)(?:\\x04|\\x06|\\x08)",
flags: "",
args: ["", false]
}
]
this.checks = [
{
pattern: "^\\x50\\x4b(?:\\x03|\\x05|\\x07)(?:\\x04|\\x06|\\x08)",
flags: "",
args: ["", false]
}
};
];
}
/**