Closed petercowal closed 8 years ago
The use case for multi-line-strings is exactly that they don't support interpolation or string escapes. Instead, everything between the quotes gies in the string. The use case is copying a long document (documentation, help message, program text to be used as input, etc) into a program, without having to escape embedded quotes, braces, newlines, etc.
And yes, this should be added to the spec.
I added a section to the spec.
For instance:
will print
{x}\n
I wasn't able to find ‹strings› within the spec, so I'm not sure if this behavior is deliberate or not; I guess that adding strings enclosed in ‹› to the spec is an issue of its own?