Magic signatures

This commit is contained in:
n1073645 2019-11-26 16:43:54 +00:00
parent 610d46a1a4
commit aa206d7b37
9 changed files with 88 additions and 0 deletions

View file

@ -37,6 +37,23 @@ class ChangeIPFormat extends Operation {
"value": ["Dotted Decimal", "Decimal", "Octal", "Hex"]
}
];
this.patterns = [
{
match: "([0-9]{1,3}\\.){3}[0-9]{1,3}",
flags: "",
args: ["Dotted Decimal","Decimal"]
},
{
match: "([0-9]{1,3}\\.){3}[0-9]{1,3}",
flags: "",
args: ["Dotted Decimal","Octal"]
},
{
match: "([0-9]{1,3}\\.){3}[0-9]{1,3}",
flags: "",
args: ["Dotted Decimal","Hex"]
}
];
}
/**