Hello,
in the codemirror 6 plugin I need to use a regex to match the completion-source for autocompletion.
It is done like:
var word = context.matchBefore(/\w*/)
context.matchBefore()
matches everything before the cursor using the regex
Now, what I want to achieve is, that also strings like tv-config-toolbar-text get matched.
Basically, a regex that matches any single string
Do you have an idea?
Thank you,
Simon