1. Cover
  2. Buy PDF/EPUB versions
  3. 1. Preface
  4. 2. Why is it needed?
  5. 3. Regexp introduction
  6. 4. Anchors
  7. 5. Alternation and Grouping
  8. 6. Escaping metacharacters
  9. 7. Dot metacharacter and Quantifiers
  10. 8. Interlude: Tools for debugging and visualization
  11. 9. Working with matched portions
  12. 10. Character class
  13. 11. Groupings and backreferences
  14. 12. Interlude: Common tasks
  15. 13. Lookarounds
  16. 14. Modifiers
  17. 15. Unicode
  18. 16. Further Reading
  19. 17. Exercise Solutions


  20.    Source code
  21.    My Blog
  22.    My Books
  23.    learnbyexample weekly

Ruby Regexp

    Buy PDF/EPUB versions

    Purchase links

    • You can download the pdf/epub versions of the book for free using the below links (you can also pay if you wish):
      • https://learnbyexample.gumroad.com/l/rubyregexp
      • https://leanpub.com/rubyregexp

    Bundles

    You can also get the book as part of these bundles:

    • Awesome Regex
      • https://learnbyexample.gumroad.com/l/regex
      • https://leanpub.com/b/regex
    • Ruby text processing
      • https://learnbyexample.gumroad.com/l/ruby-textprocessing
      • https://leanpub.com/b/ruby-textprocessing
    • All books bundle
      • https://learnbyexample.gumroad.com/l/all-books
      • Includes all my programming books

    Book list

    Here's a list of programming books I've written:

    • Python re(gex)?
    • JavaScript RegExp
    • Ruby Regexp
    • GNU grep and ripgrep
    • GNU sed
    • GNU awk
    • Ruby one-liners cookbook
    • Perl one-liners cookbook
    • 100 Page Python Intro
    • Practice Python Projects
    • Command line text processing with GNU Coreutils
    • Command line text processing with Rust tools
    • Vim reference guide
    • Computing from the Command Line