Skip to content

Commit

Permalink
base45: explicitly specify the full alphabet
Browse files Browse the repository at this point in the history
We have '-' as a real element in our alphabet. This trips up the
alphabet expansion.
  • Loading branch information
t-8ch committed Sep 17, 2021
1 parent e620abb commit e7f8e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lib/Base45.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ export function highlightFromBase45(pos, args) {
return pos;
}

export const ALPHABET = Utils.expandAlphRange("0-9A-Z $%*+-./:").join("");
export const ALPHABET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";

0 comments on commit e7f8e3a

Please sign in to comment.