I wanted to parse a string, which I can enter in the Julia REPL console:
"""a "b" c"""
with the desired result:
"a \"b\" c"
These all fail:
julia> eval(parse(""" "a \"b\" c" """))
ERROR: no method *(ASCIIString, Array{Uint8,1})
julia> eval(parse("a \"b\" c"))
ERROR: ParseError("extra token \"\"\" after end of expression")
in parse at string.jl:1210
julia> eval(parse(""" "a "b" c" """))
ERROR: no method *(ASCIIString, Array{Uint8,1})
This one does not even get accepted as a proper input
eval(parse(""""a "b" c""""))
What is the right method?