We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3af67e commit ce93339Copy full SHA for ce93339
packages/compiler-core/src/utils.ts
@@ -63,7 +63,7 @@ export function isCoreComponent(tag: string): symbol | void {
63
}
64
65
66
-const nonIdentifierRE = /^\d|[^\$\w\xA0-\uFFFF]/
+const nonIdentifierRE = /^$|^\d|[^\$\w\xA0-\uFFFF]/
67
export const isSimpleIdentifier = (name: string): boolean =>
68
!nonIdentifierRE.test(name)
69
0 commit comments