better pattern on line:match