Make sure the output of each match is terminated with a line separator.