Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>

[[ 🗃 ^yEzqv rel4tion-wiki ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/yEzqv

SSH: git clone USERNAME@vervis.peers.community:yEzqv

Branches

Tags

master :: projects / idan / manual / 02-literals /

08-sym-escape.mdwn

[[!meta title=“2.8 | Symbolic Character Escape Sequences”]]

Symbolic Character Escape Sequences

This is a list of all the sequences allowed in character and/or string literals. The last 3 columns indicate which kinds of literals support a given sequence. ' is for characters; " and """ are for strings. The other 2 delimiters for characters - ''' and ` - don’t support escape sequences at all, therefore they are omitted from the table.

Sequence Unicode     Description       '   "  """ {{char}} {{string}}
-------- ------- -------------------- --- --- --- -------- ----------
\a       U+0007  audible bell          v   v   v     v         v
\b       U+0008  backspace             v   v   v     v         v
\f       U+000C  form feed - new page  v   v   v     v         v
\n       U+000A  line feed - new line  v   v   v     v         v
\r       U+000D  carriage return       v   v   v     v         v
\t       U+0009  horizontal tab        v   v   v     v         v
\v       U+000B  vertical tab          v   v   v     v         v
\"       U+0022  double quote              v
\"""             3 double quotes               v
\'       U+0027  single quote          v
\\       U+005C  backslash             v   v   v     v         v
\&               empty string              v   v               v
\{       U+007B  opening brace                       v         v
\}       U+007D  closing brace                       v         v
[See repo JSON]