How to use escape characters?
Opened this issue · 0 comments
GauravKanted commented
I was just wondering maybe we could pass an array of arguments to the parser that when it encounters these symbols,or regex, to just ignore and move ahead. Somewhat like the replace function present in JavaScript, just instead of replacing the parser can move to the next character.
My end goal here is to convert the expression(and 1000's more) to the LaTeX format like this:
math exp - [(4/5)^2] = ? * {4/5}
math latex - [{\left(\frac{4}{5}\right)}^{2}] = ?\times{\frac{4}{5}}
So the special characters (?,= and {},[])
all are in place but just the math operation is converted to LateX code.