MCPcopy Index your code
hub / github.com/simstudioai/sim / createEnvVarPattern

Function createEnvVarPattern

apps/sim/executor/utils/reference-validation.ts:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 * Creates a regex pattern for matching environment variables {{variable}}
17 */
18export function createEnvVarPattern(): RegExp {
19 return new RegExp(`\\${REFERENCE.ENV_VAR_START}([^}]+)\\${REFERENCE.ENV_VAR_END}`, 'g')
20}
21
22export interface EnvVarResolveOptions {
23 allowEmbedded?: boolean

Callers 9

parseInlineReferencesFunction · 0.90
hasEnvVarInHostnameFunction · 0.90
createHighlightFunctionFunction · 0.90
customHighlightFunction · 0.90
createHighlightFunctionFunction · 0.90
useSubflowEditorFunction · 0.90
replaceEnvVarsAsyncFunction · 0.90
resolveEnvVarReferencesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected