- Updated details for re(gex)? playground app
- Added section for re(gex)? exercises app
- Better sample input for one of the exercises
- Corrected one of the exercise solutions and added alternate solution for another exercise
- Python version updated to 3.11
- Possessive quantifiers and Atomic grouping are now supported by the
re
module
- Possessive quantifiers and Atomic grouping are now supported by the
regex
module- corrected examples and descriptions for
\G
and\K
features - added railroad diagram for the recursive matching section
- corrected examples and descriptions for
- 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
- New section added for re(gex)? playground
- Book title changed to Understanding Python re(gex)?
- New cover image
- Images centered for EPUB format
- Corrected typos in description, cheatsheet, exercises and solutions
- Updated Acknowledgements section
- Added real world regular expressions usage examples and overview of book in introduction chapter
- Added links to single file collation of exercises and solutions
- Added information about flashtext and PythonVerbalExpressions
- Corrected typos in exercises and solutions
- Corrected order of sorting for usage of
dict
in replacement section
- Separated out
regex
module as a separate chapter (with description for more features) instead of mixing up withre
module contents - Added plenty of new exercises, perhaps too many
- Updated and clarified descriptions for many concepts, too many changes to list individually
- Added description for new features in Python 3.8 like
\N
escape sequence - Added two interlude chapters to highlight external resources
- Added separate section about escape sequences and differences compared to string literals
- Added section for
re.fullmatch
function and modified/added several examples/exercises in multiple chapters to highlight its usage - Added section for conditional group
(?(id/name)yes-pattern|no-pattern)
- Converted chapter/section references to clickable links
- And many more typo corrections and miscellaneous changes
- corrected a typo
- changed background color of code snippets for better contrast
- added Table of Contents
- changed book formatting
- better contrast for chapter and section names
- increased font size and page margins
- added cheatsheet at end of chapters
- improved descriptions and examples
- corrected minor typos and improved grammar (some were based on feedback received)
- changed cover image
- added
warning
andinfo
icons to highlight notes - better wording and test strings for 3rd lookaround exercise
- added debuggex links, this site provides railroad diagrams to help understand complex REs
- corrected flag for recursive matching section, wasn't caught in code snippet testing as both
re.X
andregex.X
have same constant value
- Corrected a greedy quantifiers exercise where answer wasn't deleted :-/
- added CommonRegex as further reading link
- First version