1*3ee4fc2aSCody Peter Melloorig = "here is some text", repl = "<FOO&BAR \q \ \\ \& \\& \\\&>" 2*3ee4fc2aSCody Peter Melloresult is "here is <FOOsomeBAR \q \ \\ & \some \&> text" 3