Some math notation uses `{}` or `[]` instead of `()`. For example, `x^{2}` should still parse as `x^(2)`, and `[x+y]` should be treated the same as `(x+y)`.
Some math notation uses
{}or[]instead of(). For example,x^{2}should still parse asx^(2), and[x+y]should be treated the same as(x+y).