add the line number to the matched line
add a line number to the matched line