Skip to content

How to use escape characters? #19

@GauravKanted

Description

@GauravKanted

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions