Modifications made.

This commit is contained in:
n1073645 2020-02-13 16:40:12 +00:00
parent 4247ddb0ce
commit 6373ad0bc3
6 changed files with 13 additions and 60 deletions

View file

@ -37,28 +37,6 @@ class ChangeIPFormat extends Operation {
"value": ["Dotted Decimal", "Decimal", "Octal", "Hex"]
}
];
this.checks =
{
inRegexes: [
{
match: "^\\s*([0-9]{1,3}\\.){3}[0-9]{1,3}$",
flags: "",
magic: false,
args: ["Dotted Decimal", "Decimal"]
},
{
match: "^\\s*([0-9]{1,3}\\.){3}[0-9]{1,3}$",
flags: "",
magic: false,
args: ["Dotted Decimal", "Octal"]
},
{
match: "^\\s*([0-9]{1,3}\\.){3}[0-9]{1,3}$",
flags: "",
magic: false,
args: ["Dotted Decimal", "Hex"]
}]
};
}
/**

View file

@ -55,16 +55,6 @@ class FormatMACAddresses extends Operation {
"value": false
}
];
this.checks =
{
inRegexes: [
{
match: "^\\s*([0-9a-f]{2}:){5}[0-9a-f]{2}$",
flags: "i",
magic: false,
args: ["Both", true, true, true, true, true]
}]
};
}
/**