Making regex suck less
Carl Banks
imbosol at vt.edu
Sun Sep 1 19:45:55 EDT 2002
Gerhard H?ring wrote:
>> which means the real time is not spent in the compile() function, but
>> in the match or find function. So basically, couldn't one come up with
>> a *human readable* syntax for re, and compile that instead?
>
> That's equally powerful? Most probably not.
Why not? It won't be as fast, but it should be able to do anything a
regexp can do, and would be much more versatile.
--
CARL BANKS
http://www.aerojockey.com
More information about the Python-list
mailing list