[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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant