Chris> I have a problem matching nested levels of {} ... Regular expressions can't count, so you'd be better off sticking with regexes to tokenize the source, then use a real parser to parse the tokens it produces.
Skip -- http://mail.python.org/mailman/listinfo/python-list