diff --git a/packages/editor-ui/src/components/CodeNodeEditor/completions/itemIndex.completions.ts b/packages/editor-ui/src/components/CodeNodeEditor/completions/itemIndex.completions.ts index 26242a96ec5eb..a108e88b67e79 100644 --- a/packages/editor-ui/src/components/CodeNodeEditor/completions/itemIndex.completions.ts +++ b/packages/editor-ui/src/components/CodeNodeEditor/completions/itemIndex.completions.ts @@ -65,7 +65,7 @@ export const itemIndexCompletions = (Vue as CodeNodeEditorMixin).extend({ selectorCompletions(context: CompletionContext, matcher: string | null = null) { const pattern = matcher === null - ? /\$\((?['"][\w\s]+['"])\)\..*/ // $('nodeName'). + ? /\$\((?['"][\S\s]+['"])\)\..*/ // $('nodeName'). : new RegExp(`${matcher}\..*`); const preCursor = context.matchBefore(pattern);