[EMAIL PROTECTED] wrote:
> Thanks to all for the various good approaches. Kent's plain RE approach
> seems the most straightforward - did not know that RE can handle this
> situation - good to know!

Thanks to Eddie Corns also who showed how to express the problem as a 
parsing problem.

I am also trying a pyparsing solution but I don't see a way to repeat a 
previous element in pyparsing. Paul McGuire, are you listening?

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to