This behavior was introduced in 0.7: fix #22926, raw string escaping rules that allow writing all strings by JeffBezanson · Pull Request #24621 · JuliaLang/julia · GitHub
In Julia 0.6, some strings are impossible to write as raw"..."
strings; you have to use an ordinary string literal with backslash escapes.