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 Nov 8, 2021
1 parent ccc55de commit 4217850
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 @@ -24,4 +24,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 4217850

Please sign in to comment.