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

Regex

The goal of this book is to teach Regexes or if you wish Regular Expressions as they can be used in Rust with the regex crate.

The use of Regular expressions is also called "pattern matching" which might be confusing.

TODO

  • Match a single digit [0-9] or also the non 0-9 digits?
  • Match the first number.
  • Match all the numbers.
  • Parse this: /* core */ some 1 text /* rust */ some 2 text /* perl */ some 3 text.
  • The characters used in regexes.
  • ...