Understanding Ruby Regexp book announcement
Hello!
I just published a new version of the "Understanding Ruby Regexp" ebook. Corrected examples and descriptions for Atomic grouping, \G
and \K
features, improved examples, exercises and so on.
This book will help you learn Ruby Regular Expressions step-by-step from beginner to advanced levels with hundreds of examples and exercises.
Ebook links🔗
You can download the PDF/EPUB versions of the book for free using the below links (you can also pay if you wish):
You can also read the book online here: https://learnbyexample.github.io/Ruby_Regexp/.
What's new?🔗
- Ruby version updated to 3.3.0
- Corrected examples and descriptions for Atomic grouping,
\G
and\K
features - In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected
- Updated Acknowledgements section
- Code snippets related to info/warning sections will now appear as a single block
- Book title changed to Understanding Ruby Regexp
- New cover image
- Images centered for EPUB format
Videos🔗
On this blog, I post tips covering Python, command line tools and Vim. Here are video demos for these tips:
Table of Contents🔗
- Preface
- Why is it needed?
- Regexp introduction
- Anchors
- Alternation and Grouping
- Escaping metacharacters
- Dot metacharacter and Quantifiers
- Interlude: Tools for debugging and visualization
- Working with matched portions
- Character class
- Groupings and backreferences
- Interlude: Common tasks
- Lookarounds
- Modifiers
- Unicode
- Further Reading
GitHub repo🔗
Visit https://github.com/learnbyexample/Ruby_Regexp for markdown source, exercise solutions, sample chapters and other details related to the book.
See my blog post on how to customize pandoc
for generating beautiful PDF/EPUB versions from GitHub style markdown.
Newsletter🔗
Subscribe to learnbyexample weekly — free newsletter covering programming resources, updates on what I am creating, tools, ebooks and more, delivered every Friday.
Feedback and Errata🔗
I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, Gumroad rating, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
You can reach me via:
- Issue Manager: https://github.com/learnbyexample/Ruby_Regexp/issues
- E-mail:
learn by example.net@gmail.com
(without the spaces) - Twitter: https://twitter.com/learn_byexample
Happy learning :)