String Literal Syntax#
Dylan Enhancement Proposal (DEP) 12 extends the literal syntax for strings to include strings without any escape character processing (“raw” strings) and multi-line strings. Briefly,
Multi-line strings begin with three double-quote characters:
End-of-line sequences in multi-line strings are always parsed as a single Newline (
\\n) character, regardless of source file line endings or the conventions of the operating system.
Any string, whether delimited by
"""may be prefixed with
#Rto disable escape sequence processing.
See DEP 12 for details.