In jrep, do not recompile the regexp matching new lines for every file.
Move matching new lines out of the section locked for output printing.