Added the magic flag to regexes to say whether it is useful for magic to use

This commit is contained in:
n1073645 2019-12-04 14:12:27 +00:00
parent 4d9fb7ef58
commit 8df9d6fcf6
43 changed files with 142 additions and 32 deletions

View file

@ -42,16 +42,19 @@ class ChangeIPFormat extends Operation {
{
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"]
}
]);