diff --git a/src/Alias.ts b/src/Alias.ts index b03b3c400..59375c3e7 100644 --- a/src/Alias.ts +++ b/src/Alias.ts @@ -36,7 +36,7 @@ export function printAliases(): void { // Returns true if successful, false otherwise export function parseAliasDeclaration(dec: string, global = false): boolean { - const re = /^([\w|!|%|,|@|-]+)=(("(.+)")|('(.+)'))$/; + const re = /^([\w|!%,@-]+)=(("(.+)")|('(.+)'))$/; const matches = dec.match(re); if (matches == null || matches.length != 7) { return false;