You have to use \\ or /. A single \ followed by a character is interpretted as an escape code.