in reply to Re^3: m modifier not doing what I'm expecting?
in thread m modifier not doing what I'm expecting?

I'm not the OP, but I think it's pretty clear the OP wants to extract the lines

FOO: Example header 1 FOO: a FOO: Header 2 example FOO: Testing header item with some stuff in
The non-greedy .+? also hints in this direction (though non-greediness is not required here, unless you're using /s).