Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Common characer classes

\d \w \s

  • \d digit: [0-9] or Unicode Characters in the 'Number, Decimal Digit' Category

  • \w word character [a-zA-Z0-9_] (digits, letters, underscore) or see the Unicode set of digits and letters

  • \s white space: [\f\t\n\r\v ] form-feed, tab, newline, carriage return, vertical-tab, and SPACE

  • Use stand alone: \d or as part of a larger character class: [abc\d]