Added a '$' to the regex, so that the backslash (windows) would be
detected at the end of the line.