Ah, that doesn't help me. What I'm trying to do is combine that string in previous string. For eg.
str = "{a:" str += "some \" quoted value'foo" str += "}"Which should result in:
# {a:"some \" quoted value'foo"} # But not: # {a:"some " quoted value\'foo"}So, what I want is what user has inputed exactly.