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