Move lines() method from Match into Cool.  (RT #117461)