[Developers] quoting in par-file strings
Frank Loeffler
frank.loeffler at aei.mpg.de
Fri Jun 3 10:05:53 CDT 2005
Hi,
Jonathan Thornburg wrote:
> Ok, here are my proposed string quoting rules:
> * A string is delimited by either single-quotes ('...')
> or double-quotes ("...").
> * Within a string delimited by single-quotes, double-quotes may be
> used with no need for special quoting
> * Within a string delimited by double-quotes, single-quotes may be
> used with no need for special quoting
> * Backslash quotes the next character, i.e.
> * \' gives a single-quote character without delimiting the string
> * \" gives a double-quote character without delimiting the string
> * \\ gives a backslash character in the string
I think you should add that Backslash quotes should only be possible in
double quoted strings, which would also make your point 2 obsolete.
Frank
More information about the Developers
mailing list