Variable-width lookbehind

Paul Rubin http
Sun Nov 18 00:08:13 CET 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