need some regular expression help
Theerasak Photha
hanumizzle at gmail.com
Sun Oct 8 04:56:25 EDT 2006
On 8 Oct 2006 01:49:50 -0700, Diez B. Roggisch <deets at web.de> wrote:
> Even if it has - I'm not sure if it really does you good, for several
> reasons:
>
> - regexes - even enhanced ones - don't build trees. But that is what
> you ultimately want
> from an expression like sin(log(x))
>
> - even if they are more powerful these days, the theory of context
> free grammars still applies.
> so if what you need isn't LL(k) but LR(k), how do you specify that
> to the regex engine?
>
> - the regexes are useful because of their compact notations, parsers
> allow for better structured outcome
Just wait for Perl 6 :D
-- Theerasak
More information about the Python-list
mailing list