diff --git a/packages/hoppscotch-data/src/pathVariables.ts b/packages/hoppscotch-data/src/pathVariables.ts index 20ad20f5b..de747573a 100644 --- a/packages/hoppscotch-data/src/pathVariables.ts +++ b/packages/hoppscotch-data/src/pathVariables.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