every line deserves a newline at the end
Give preg_match() the slashes it needs