mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-20 16:25:43 +00: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:
parent
0c695fbbcb
commit
cce1a91205
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue