I have the following snippet
context "math()"
snippet `v([a-zA-Z]) ` "bb" A
``rv = '\\mathbf{' + m[1] + '}'``
endsnippet
Now, most of my snippets work, however, snippets with regex that ends with space do not exectute properly. When writing va + space, I get va instead of \mathbf{a}. I previously used hypersnips in vscode, for which this code worked. Does anyone know where is the issue?
NB: Any input of the form 'text*space*' doesn't seem to be recognized when written as 'text ' in the snippet section.
#. Could you ask a separate question for that? – husB Mar 29 '22 at 14:28