mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 06:39:01 +02:00
Merge pull request #13897 from overleaf/ae-completion-event
Fix regular expression for completion event logging GitOrigin-RevId: fbe3b91722fe40d4bb1116f23a78ebcebbd02b37
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user