Check for each match ending in eol is a little more elegant.