Escaped Sequences
The following table lists the backslashed representations of characters that you can use in regular expressions:
Code | Matches |
---|---|
| Alarm (beep) |
| Newline |
| Carriage return |
| Tab |
| Formfeed |
| Escape |
| Any octal ASCII value |
| Any hexadecimal ASCII value |
| A wide hexadecimal value |
| Control- |
| A named character |
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.