[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Alternative to sub/superscript regexp
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [RFC] Alternative to sub/superscript regexp |
Date: |
Tue, 26 Nov 2013 17:46:02 +0100 |
Hello,
Carsten Dominik <address@hidden> writes:
> I have tested this a bit, and it does pretty much what I want.
Great.
> Just to be sure: We will also support expressions with braces, right?
Of course, we will. Curly braces are not ambiguous so I'm no suggesting
to change this part of the syntax (even though it would be best to parse
them with an appropriate syntax table rather than a regexp).
OTOH, while we're at it, I wonder if we should keep grouping with
parenthesis. I guess that if you want to use parenthesis, you're going
to need math mode anyway, so there's no real need to make it easy to
type, e.g. :
x^(2-i)
which will become x$^\text{(2-i)}$ anyway.
What do you think?
Regards,
--
Nicolas Goaziou