fix some regexes that used \r or \n instead of \\r and \\n