Variable-width lookbehind

Paul Rubin http
Sat Nov 17 18:08:13 EST 2007


"OKB (not okblacke)" <brenNOSPAMbarn at NObrenSPAMbarn.net> writes:
>     	For years now Python has not supported variable-length lookbehinds.  

I'm not sure what that is and the perl links you gave don't work, but
it sounds evil.  Basically it sounds like an even uglier form of
regexp backtracking than what we have now.  Regexps are just not the
right framework for implementing such complex parsers.  We should
instead have some more general parser library instead of keeping on
jamming more crap into regexps.  There's a famous Zawinski quote that
I won't repeat here since I don't want to wear it out.



More information about the Python-list mailing list