This book will help you learn Python Regular Expressions, a mini-programming language for all sorts of text processing needs.
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.
Table of contents
- 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
Pages : | 71 |
Size : | 0.6 MB |
Downloads: | 129 |
Created: | 2022-02-03 |
License: | CC BY-NC-SA |
Author(s): | Sundeep Agarwal |
Warning: Trying to access array offset on false in /home/tutovnfz/public_html/amp/article-amp.php on line 263
Others related eBooks about Python re(gex)?
This book is aimed at more experienced Python programmers who are looking to deepen their understanding of the language and modern programming idioms. Much of the material focuses on some of the more advanced techniques used by libraries, frameworks, and applications.
Download free course Python Datetime free PDF, pdf file on 3 pages by tutorialkart.com.
This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more
This book is for anyone who wants to understand Python programming. It is degigned as partly a tutorial and partly a reference of Python.
Download free course Solving PDEs in Python, pdf file on 152 pages by Hans Petter Langtangen, Anders Logg.