diff --git a/services/web/frontend/js/features/source-editor/extensions/completion-logger.ts b/services/web/frontend/js/features/source-editor/extensions/completion-logger.ts index 7ded941b05..2e4ab314ea 100644 --- a/services/web/frontend/js/features/source-editor/extensions/completion-logger.ts +++ b/services/web/frontend/js/features/source-editor/extensions/completion-logger.ts @@ -23,6 +23,6 @@ export const completionLogger = ViewPlugin.define(view => { }) const completionCommand = (label: string): string | null => { - const matches = label.match(/^(\\\w+)/) + const matches = label.match(/^\\(\w+)/) return matches ? matches[1] : null }