Supported Escape Sequences
Below are the supported escape sequences in Pyr.
Escape Sequence | Description |
---|---|
\ then newline | a trailing slash for escaping newline at the end |
\' | single quote |
\" | double quote |
\\ | backslash |
\a | audible bell |
\b | backspace |
\f | form feed |
\n | newline |
\r | carriage return |
\t | tab |
\v | vertical tab |
\ then 3 octal numbers | octal value in ascii |
\x then 2 hex numbers | hexadecimal value in ascii |
\u then 4..=6 hex numbers | unicode char |