The core.match example uses python-style triple quotes. Is that actually possible in clojure? I would be enormously excited if it is.
"""
a
"""
parses as three strings, two of which are empty: "", "\na\n", and "". (Clojure strings are allowed to contain literal newlines.)1. Long regular expression strings that have quote marks involved. I'm not a fan of large, complex regexes, but a lot of people dislike the line-noise added by escaping.
2. Docstrings that may have quotes in them.
It's to remove the string escaping that makes literals look different from the strings they describe.
Thinking about it, I guess triple-quoted strings also facilitate doctests involving strings that would otherwise be really awkward to read/write.