[Python-Dev] Re: Re: pre-PEP: Complete, Structured Regular ExpressionGroup Matching

Fredrik Lundh fredrik at pythonware.com
Tue Aug 10 15:06:36 CEST 2004


Erik Heneryd wrote:

> I hacked up a Python prototype, mostly as a challenge.  It's brittle and
> it's ugly, but it kind of works.  Though, if /F says it would require a
> major rewrite of the C-engine, that's probably true... <wink>

if done on the C level, that is.  partial compilation on the Python level
is slightly easier, as you've just shown.  clever!

(but probably rather slow; I still recommend building something on top
of the scanner object)

</F>





More information about the Python-Dev mailing list