Re: [Tutor] Pythonic way to extract delimited substrings

2008-04-14 Thread Alan Gauld
"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

Re: [Tutor] Pythonic way to extract delimited substrings

2008-04-14 Thread Kent Johnson
Malcolm Greene wrote: > Suggestions on the best way to extract delimited substrings strings from > a larger string? > > 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. > Wha

[Tutor] Pythonic way to extract delimited substrings

2008-04-14 Thread Malcolm Greene
Suggestions on the best way to extract delimited substrings strings from a larger string? 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. Because the left and right delimiters a