On Sun, Sep 21, 2003 at 01:20:01PM +0200, Mirar @ Pike developers forum wrote:
If it didn't need " quoted either, it would be quite useful for Pike programs writing Pike programs or HTML or the like...
There is unused (mostly) backquote character (`), which might serve this purpose (perhaps in combination with #):
string x = ` Some text with " characters " and multiple lines in it`
It might clutter (somehow) with operator definitions, but unlikely.
Or alternative (a-la Perl):
string x = #``__EOS this is a multiline "unquoted" string __EOS
This last one assuming that string quoted by backquotes may not be empty, of course.
The first syntax is good enough for REs as well, IMHO.
Regards, /Al