Repaired the Object Identifier to Hex regex
This commit is contained in:
parent
c42aad7c82
commit
40f253c86b
@ -28,7 +28,7 @@ class ObjectIdentifierToHex extends Operation {
|
|||||||
this.args = [];
|
this.args = [];
|
||||||
this.checks = new magicObject([
|
this.checks = new magicObject([
|
||||||
{
|
{
|
||||||
match: "^\\s*([0-9]{1,3}.?)+^\\s*$",
|
match: "^\\s*([0-9]{1,3}\.?)+\\s*$",
|
||||||
flags: "",
|
flags: "",
|
||||||
args: []
|
args: []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,16 +31,7 @@ class URLDecode extends Operation {
|
|||||||
flags: "i",
|
flags: "i",
|
||||||
args: [],
|
args: [],
|
||||||
}
|
}
|
||||||
],
|
]);
|
||||||
/* [
|
|
||||||
{
|
|
||||||
match: "^(?:(http(s)?|ftp):\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$",
|
|
||||||
flags: "i",
|
|
||||||
shouldMatch: true,
|
|
||||||
args: []
|
|
||||||
}
|
|
||||||
] */
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user