3.15 Escape Sequences
3.15 Escape Sequences
Within strings and quoted atoms, the following escape sequences are recognized:
| Sequence | Description |
|---|---|
| \b | Backspace |
| \d | Delete |
| \e | Escape |
| \f | Form feed |
| \n | Newline |
| \r | Carriage return |
| \s | Space |
| \t | Tab |
| \v | Vertical tab |
| \XYZ, \YZ, \Z | Character with octal representation XYZ, YZ or Z |
| \xXY | Character with hexadecimal representation XY |
| \x{X…} | Character with hexadecimal representation; X… is one or more hexadecimal characters |
| \^a…\^z \^A…\^Z | Control A to control Z |
| \' | Single quote |
| \" | Double quote |
| | Backslash |
Table 3.1: Recognized Escape Sequences
