34
GitHub - learnbyexample/py_regular_expressions: Learn Python Regular Expressions...
source link: https://github.com/learnbyexample/py_regular_expressions
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Python re(gex)?
Learn Python Regular Expressions step by step from beginner to advanced levels with 200+ examples
The book also includes exercises to test your understanding, which is presented together as a single file in this repo - Exercises.md
E-book
You can download the book from https://leanpub.com/py_regex
Table of Contents
- Preface
- Why is it needed?
- Regular Expression modules
- Anchors
- Alternation and Grouping
- Escaping metacharacters
- Dot metacharacter and Quantifiers
- Working with matched portions
- Character class
- Groupings and backreferences
- Lookarounds
- Flags
- Unicode
- Miscellaneous
- Gotchas
- Further Reading
Contributing
- Open an issue for suggestions, bugs, typos, etc
License
The code snippets are licensed under MIT, see LICENSE file
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK