Skip to content

Commit 47ccafc

Browse files
committed
Linting and tidy up
1 parent 1118ff5 commit 47ccafc

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

src/core/operations/FromBase85.mjs

-17
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,6 @@ class FromBase85 extends Operation {
3333
value: ALPHABET_OPTIONS
3434
},
3535
];
36-
this.patterns = [
37-
{
38-
match: "^\\s*(<~)?([!-u]{4})+([!-u]{1,3})??(~>)?\\s*$",
39-
flags: "",
40-
args: ["!-u", true]
41-
},
42-
{
43-
match: "^\\s*(<~)?([0-9A-Z.-:+=^!/*?&<>()[]{}@%$#]{4})+([0-9A-Z.-:+=^!/*?&<>()[]{}@%$#]{1,3})??(~>)?\\s*$",
44-
flags: "i",
45-
args: ["0-9a-zA-Z.-:+=^!/*?&<>()[]{}@%$#", true]
46-
},
47-
{
48-
match: "^\\s*(<~)?([0-9A-Z.-:+=^!/*?&_<>()[]{}@%$#;`|~]{4})+([0-9A-Z.-:+=^!/*?&_<>()[]{}@%$#;`|~]{1,3})??(~>)?\\s*$",
49-
flags: "i",
50-
args: ["0-9A-Za-z!#$%&()*+-;<=>?@^_`{|~}", true]
51-
}
52-
];
5336
}
5437

5538
/**

src/core/operations/FromBraille.mjs

-7
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ class FromBraille extends Operation {
2525
this.inputType = "string";
2626
this.outputType = "string";
2727
this.args = [];
28-
this.patterns = [
29-
{
30-
match: "^\\s*[⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿]+\\s*$",
31-
flags: "i",
32-
args: [true]
33-
}
34-
];
3528
}
3629

3730
/**

0 commit comments

Comments
 (0)