More signatures for magic

This commit is contained in:
n1073645 2019-11-27 15:59:22 +00:00
parent a2eadee06a
commit 5853074052
6 changed files with 43 additions and 0 deletions

View file

@ -25,6 +25,13 @@ class ParseUserAgent extends Operation {
this.inputType = "string";
this.outputType = "string";
this.args = [];
this.patterns = [
{
match: "^(User-Agent:|Mozilla\\/)[^\\n\\r]+\\s*$",
flags: "i",
args: []
}
]
}
/**