regular expressions questions

Neel Krishnaswami neelk at brick.cswv.com
Sat Apr 1 01:19:19 CEST 2000


Fredrik Lundh <effbot at telia.com> wrote:
> 
> note that 're' isn't fast because it's using a cryptic syntax, it's fast
> because it's using a custom pattern matching engine instead of the
> python bytecode interpreter.  neel's original argument was that we
> can do better syntax-wise.

Exactly -- I think that readability could be improved, and there
wouldn't be as much of a "syntactic barrier" when moving from a regexp
to a full parser.


Neel



More information about the Python-list mailing list