From 7a9bcd0a5c9db2ce5fc82f19cc2a6af3969b4925 Mon Sep 17 00:00:00 2001 From: Jason Casareno Date: Mon, 1 Aug 2022 14:48:58 -0700 Subject: [PATCH] Modified regex expression --- packages/hoppscotch-data/src/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-data/src/environment.ts b/packages/hoppscotch-data/src/environment.ts index 6001bff83..d8db48a3a 100644 --- a/packages/hoppscotch-data/src/environment.ts +++ b/packages/hoppscotch-data/src/environment.ts @@ -16,7 +16,7 @@ export type Variables = { const REGEX_ENV_VAR = /<<([^>]*)>>/g // "<>" -const REGEX_PATH_VAR = /{{([^>]*)}}/g // "{{myVariable}}" +const REGEX_PATH_VAR = /{{([^}]*)}}/g // "{{myVariable}}" /** * How much times can we expand environment variables