"Malcolm Greene" <[EMAIL PROTECTED]> wrote in > Background: I have a long multi-line string with expressions > delimited > with '<(' and ')>' markers. I would like to extract these substrings > and > process them in a loop. > > I know how to do this task with regular expressions, but I'm always > cautious about using a bazooka when a hammer will suffice.
Sounds like an ideal candidate for regex and findall to me. If you have to stop a tank a bazooka may be the right tool... Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor