Explain optional \r in newline conversion regex