Improved new line regex.