Last updated on 2019-01-15
About the Book
The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them.
You should have prior experience working with Python, should know concepts like string formats, string methods, list comprehension and so on.
Both standard re module and popular third party regex module is covered in this book.
Exercises are also included to test your understanding.
Visit https://github.com/learnbyexample/py_regular_expressions for code snippets and exercise files.
2. Why is it needed?
3. Regular Expression modules
5. Alternation and Grouping
6. Escaping metacharacters
7. Dot metacharacter and Quantifiers
8. Working with matched portions
9. Character class
10. Groupings and backreferences
16. Further Reading
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...