diff --git a/packages/@lwc/engine-core/src/framework/template.ts b/packages/@lwc/engine-core/src/framework/template.ts index 1b2ecc9d76..ddb93728fb 100644 --- a/packages/@lwc/engine-core/src/framework/template.ts +++ b/packages/@lwc/engine-core/src/framework/template.ts @@ -66,7 +66,7 @@ export function setVMBeingRendered(vm: VM | null) { vmBeingRendered = vm; } -const VALID_SCOPE_TOKEN_REGEX = /^[a-zA-Z0-9\-_.]+$/; +const VALID_SCOPE_TOKEN_REGEX = /^[a-zA-Z0-9\-_]+$/; // See W-16614556 // TODO [#2826]: freeze the template object