Andrew Dalke wrote: > I see you assume that only \w+ can fit inside of a %() > in a format string. The actual Python code allows anything > up to the balanced closed parens. > Gah! I guess that torpedoes the regexp approach, then. Thanks for looking at this Michael