On May 8, 8:11 pm, Ricardo Aráoz <ricar... at gmail.com> wrote: > All these examples assume your regular expression will not span multiple > lines, but this can easily be the case. How would you process the file > with regular expressions that span multiple lines? re.findall/ finditer, as I said earlier.