in reply to Re^2: Regular expressions across multiple lines
in thread Regular expressions across multiple lines
assuming you're really only looking for a short string, and given the size of your file, I would be tempted to only concatenate the new line with the last few nonspace characters from the previous line(s), and do the comparison every loop.
|
---|