In jrep, compile the regexp for new lines early.

Compilation of the Regej should be made thread safe.