Repaired the Object Identifier to Hex regex

This commit is contained in:
n1073645 2019-12-04 12:31:22 +00:00
parent c42aad7c82
commit 40f253c86b
2 changed files with 2 additions and 11 deletions

View file

@ -28,7 +28,7 @@ class ObjectIdentifierToHex extends Operation {
this.args = [];
this.checks = new magicObject([
{
match: "^\\s*([0-9]{1,3}.?)+^\\s*$",
match: "^\\s*([0-9]{1,3}\.?)+\\s*$",
flags: "",
args: []
}

View file

@ -31,16 +31,7 @@ class URLDecode extends Operation {
flags: "i",
args: [],
}
],
/* [
{
match: "^(?:(http(s)?|ftp):\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$",
flags: "i",
shouldMatch: true,
args: []
}
] */
);
]);
}
/**