diff --git a/src/core/operations/ObjectIdentifierToHex.mjs b/src/core/operations/ObjectIdentifierToHex.mjs index 31abfba4..1cd729a1 100644 --- a/src/core/operations/ObjectIdentifierToHex.mjs +++ b/src/core/operations/ObjectIdentifierToHex.mjs @@ -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: [] } diff --git a/src/core/operations/URLDecode.mjs b/src/core/operations/URLDecode.mjs index 05b6237b..dacf0714 100644 --- a/src/core/operations/URLDecode.mjs +++ b/src/core/operations/URLDecode.mjs @@ -31,16 +31,7 @@ class URLDecode extends Operation { flags: "i", args: [], } - ], - /* [ - { - match: "^(?:(http(s)?|ftp):\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$", - flags: "i", - shouldMatch: true, - args: [] - } - ] */ - ); + ]); } /**