Compare regular expressions

Adam Atlas adam at atlas.st
Mon Apr 16 17:24:51 EDT 2007


On Apr 16, 1:50 pm, "Diez B. Roggisch" <d... at nospam.web.de> wrote:
> It's not. For the simplest of expressions one might come up with a
> relation between them, but even that would be hard. General case? No chance.

I wouldn't say there's 'no chance'. It would require external parsing,
for sure, but if anything, it may only be impossible for unusual
cases.

(Maybe I'll try this the next time I feel like writing parsers for fun
(which is surprisingly frequently).)




More information about the Python-list mailing list