Provide better search functionality by capturing all matched line