DENG wrote: (snip same post as two days ago) <ot> In case you don't know, google.groups is just a web interface (and archive) to usenet groups. No need to repost the same question twice... </ot>
BTW, for what you want to do (which is mostly a waste of time IMHO, but what, that's your time, not mine), the obvious, CS101 answer is to first build an AST of your document, then transform this AST - collapsing nodes when possible etc -, then write it back as (if possible valid) html. -- bruno desthuilliers ruby -e "print '[EMAIL PROTECTED]'.split('@').collect{|p| p.split('.').collect{|w| w.reverse}.join('.')}.join('@')" -- http://mail.python.org/mailman/listinfo/python-list