Skip to content

Latest commit

 

History

History
91 lines (64 loc) · 2.66 KB

Version_changes.md

File metadata and controls

91 lines (64 loc) · 2.66 KB

3.0

  • 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

2.6

  • Updated ruby version to 3.0.0
  • Added a further reading link for \g subexpression call usage
  • Typo corrections and miscellaneous changes

2.5

  • 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

2.1

  • 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

2.0

  • 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

1.1

  • changed cover image
  • added illustration for recursive matching section
  • external link updates and minor description changes

1.0

  • 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

0.6

  • second example for Character class chapter changed from grep to gsub
  • second example for String Encoding chapter changed from gsub to scan
  • 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

0.5

  • First version