Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Regular expressions across multiple linesby pryrt (Abbot) |
on Apr 24, 2016 at 19:33 UTC ( [id://1161391]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|