move regexp line parsing

regexp index parsing can be done before displayLines is called.

Moving it to there the currentText slice is set saves regexp
recomputation for every line every time displayLines is called (hjkl pressed)