antonmedv/numbr

Variables with surrounding text

ajitid opened this issue · 2 comments

Take this Numbr doc, I expected the following output instead of what Numbr gave to me:

Soulver 2 difference
Above screenshot is from Soulver 2 used on a phone.

vs Numbr:

image

I see. I did this kind of parser as in Chinese language spaces not so common around letters. Probably will refactor this.

Thanks! Just to give more context about suffix, I'm actually fine with Numbr to consider the text after <var name>_ (var name followed by underscore) as plain text. Here are NoteCalc and OpalCalc for example:

image

The issue is that Numbr parses variable name no matter what the text is written after the var name:

image