From 43d4978ceabb9d5879ab8d86bbf0f1ee551f9500 Mon Sep 17 00:00:00 2001 From: The Wizard Bear <42446683+TheWizardBear@users.noreply.github.com> Date: Mon, 2 Nov 2020 22:17:26 +0000 Subject: fix(std/flags): Fix parse incorrectly parsing alias flags with equals signs in the value #8136 (#8216) --- std/flags/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/flags/mod.ts') diff --git a/std/flags/mod.ts b/std/flags/mod.ts index 09b5afa8a..05aeff6f2 100644 --- a/std/flags/mod.ts +++ b/std/flags/mod.ts @@ -277,7 +277,7 @@ export function parse( } if (/[A-Za-z]/.test(letters[j]) && /=/.test(next)) { - setArg(letters[j], next.split("=")[1], arg); + setArg(letters[j], next.split(/=(.+)/)[1], arg); broken = true; break; } -- cgit v1.2.3