Regex get(Un)MatchedLines now returns whole lines only

Fix issue where for regexs not anchored at start/end of line, that
getMatchedLines and getUnmatchedLines returned partial lines