diff --git a/src/Alias.ts b/src/Alias.ts index b80aed6a3..238c531e0 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 != 3) { return false;