hsnips icon indicating copy to clipboard operation
hsnips copied to clipboard

Brackets aren't properly read

Open Alex2134556 opened this issue 2 years ago • 0 comments

I am having an issue with a simple snippet function. I have the following snippet (the actual snippet is a bit longer, this is to produce a simple test example)

context math(context)
snippet `^.*\};` A
``
rv =  m[0];
``

Then using this with the trigger ; on \[ \{a+b\} \] produces the output \[ \{a+b} \] even though the expected output should be identical.

Can this please be fixed?

Alex2134556 avatar Aug 18 '22 07:08 Alex2134556