On Thu, 8 Jun 2006 20:40:01 +0000 (UTC) "Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se wrote:
The problem you want to solve is copy and pasting strings into pike code?
Not really cutting and pasting, but just strings that are exactly what I typed, not parsed for \n and \t and \42 and \, etc, etc. Just like how single quotes vs double quotes work in perl.
"\n\\" is harder to read and write than '\n\', and it get worse as you get bigger and more complex regexps. And outputting html gets annoying too with all the ". I have no idea what we'd use for this though since single quotes are already taken.
Adam