implement Match.lines (RT #117461)