- 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
- Updated
ruby
version to 3.0.0 - Added a further reading link for
\g
subexpression call usage - Typo corrections and miscellaneous changes
- Added epub version of the book
- Added real world regular expressions usage examples and overview of book in introduction chapter
- Added plenty of new exercises, perhaps too many
- Updated and clarified descriptions for many concepts, too many changes to list individually
- Added separate section about escape sequences and differences compared to string literals, added details for
\R
character set - Added two interlude chapters to highlight external resources
- Removed chapters Miscellaneous and Gotchas and merged their contents in other chapters
- Added section for conditional group
(?(cond)yes-subexp|no-subexp)
- And many more typo corrections and miscellaneous changes
- corrected formatting in a code snippet comment
- changed a character class example to use possessive quantifier instead of greedy
- added examples for
\k<N>
method of backreferencing - added examples for
\X
- added Table of Contents
- updated cover image
- changed book formatting
- better contrast for chapter and section names
- changed background color of code snippets for better contrast
- increased font size and page margins
- added cheatsheet at end of chapters
- improved descriptions and examples
- corrected minor typos and improved grammar
- changed cover image
- added illustration for recursive matching section
- external link updates and minor description changes
- added exercises
- some comments for code snippets improved, typos fixed
- AND conditional examples made as a sub-heading
- font for code snippets changed to accommodate some Unicode characters
- second example for Character class chapter changed from
grep
togsub
- second example for String Encoding chapter changed from
gsub
toscan
- better naming for
hash
examples - Recursive matching simplified to use
\g<0>
instead of capture group and\g<1>
- also, description improved and added links for viewing the regexp online as railroad diagrams
- First version