Another small new feature – you can now write strings in backquotes (aka backtick or grave) e.g. `…`
Backquoted strings are not processed at all i.e. backslashes are not treated specially. They can contain any character except for a backquote.
This is useful when writing regular expressions or Windows file paths, so you don’t have to double up backslashes.
Display (and Print) will show strings as backquoted if they don’t contain a backquote and they do contain a backslash and the contents are all printable characters.
Other languages (like D and Scala) have similar ways to write “raw” string literals.
You must be logged in to reply to this topic.