Magic base85: Remove 'i' flag
This commit is contained in:
parent
15dd9d4c93
commit
eab1be0e2c
@ -36,17 +36,14 @@ class FromBase85 extends Operation {
|
|||||||
this.checks = [
|
this.checks = [
|
||||||
{
|
{
|
||||||
pattern: "^\\s*(?:<~)?(?:(?:\\s*[!-u]){5}|\\s*z)+[!-u\\s]*(?:~>)?\\s*$",
|
pattern: "^\\s*(?:<~)?(?:(?:\\s*[!-u]){5}|\\s*z)+[!-u\\s]*(?:~>)?\\s*$",
|
||||||
flags: "i",
|
|
||||||
args: ["!-u"]
|
args: ["!-u"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: "^(?:\\s*[0-9a-zA-Z.\\-:+=^!/*?&<>()[\\]{}@%$#])+\\s*$",
|
pattern: "^(?:\\s*[0-9a-zA-Z.\\-:+=^!/*?&<>()[\\]{}@%$#])+\\s*$",
|
||||||
flags: "i",
|
|
||||||
args: ["0-9a-zA-Z.\\-:+=^!/*?&<>()[]{}@%$#"]
|
args: ["0-9a-zA-Z.\\-:+=^!/*?&<>()[]{}@%$#"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: "^(?:\\s*[0-9A-Za-z!#$%&()*+\\-;<=>?@^_`{|}~])+\\s*$",
|
pattern: "^(?:\\s*[0-9A-Za-z!#$%&()*+\\-;<=>?@^_`{|}~])+\\s*$",
|
||||||
flags: "i",
|
|
||||||
args: ["0-9A-Za-z!#$%&()*+\\-;<=>?@^_`{|}~"]
|
args: ["0-9A-Za-z!#$%&()*+\\-;<=>?@^_`{|}~"]
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user