From 89ff25cd544b03beb2cfcebf5ad0bb0c238f1f04 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Wed, 2 Oct 2024 05:10:34 -0700 Subject: [PATCH] Fix variables in bulk editor --- src-web/components/core/BulkPairEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-web/components/core/BulkPairEditor.tsx b/src-web/components/core/BulkPairEditor.tsx index 3b428a74..7b2abb7f 100644 --- a/src-web/components/core/BulkPairEditor.tsx +++ b/src-web/components/core/BulkPairEditor.tsx @@ -43,7 +43,7 @@ export function BulkPairEditor({ } function lineToPair(line: string): PairEditorProps['pairs'][0] { - const [, name, value] = line.match(/^(:?[^:]+):\s+([^$]*)/) ?? []; + const [, name, value] = line.match(/^(:?[^:]+):\s+(.*)$/) ?? []; const pair: PairEditorProps['pairs'][0] = { enabled: true,