...It primarily covers Python’s standard re module while also introducing the third-party regex package. Early chapters explain anchors, alternation, grouping, escaping, character classes, and quantifiers. Later material explores backreferences, lookarounds, flags, Unicode, common tasks, debugging, and regex pitfalls. Hundreds of examples show how each feature behaves in practical text-processing situations. Exercises are provided separately with complete solutions, and an interactive TUI app can be used for additional practice. The book is available as Markdown and a web edition, with PDF and EPUB versions offered separately.