http://qs321.pair.com?node_id=388970


in reply to Re: search for blank lines by RegEx
in thread search for blank lines by RegEx

For processing a huge file, this is a lot more (memory-) efficient than trying to load the complete file into memory. So I don't think this is a bad way to do it.

Arjen