Hands-On Regular Expressions in Python
summary
A hands‑on walkthrough uses Python’s re module to show wholegood details: re.search/re.sub and re.findall/re.finditer behavior, raw strings r'...', anchors, character classes, quantifiers, and the distinction between match objects and booleans. Demonstrations use flags=re.IGNORECASE and re.VERBOSE to make patterns case‑insensitive and readable, and show capturing versus non‑capturing groups plus alternation with |. Exercises run from exercises.zip and test.py on python3 and the test framework verifies patterns and substitutions as shown.
AI-written summary · about
chapters (19)
- 0:00Start
- 4:39What Is Your Experience with Regular Expression
- 7:50Pattern Matching
- 16:15Regular Expressions
- 26:55Meta Characters
- 33:06Summary
- 35:02Change Directory
- 1:01:54Re Search Backslash D
- 1:08:35Matching Characters
- 1:21:29Ignore Case
- 1:22:03Quantifying on Flags
- 1:25:38Grouping
- 1:48:07Validate an Email Address
- 1:48:56Extracting Parts of Regular Expressions
- 1:59:00Non-Capturing Group Regular Expression
- 2:01:55Exercises
- 2:08:44Get Extension
- 2:17:33Grouping Py
- 2:30:29Alternation
related talks
01h 29mRegular Expressions 101
34mAn Intuitive Grasp of RegEx’s in Python
10mAn Exploration of Python's Upcoming Match Statement
26mStructural Pattern Matching in Python
42mMatch Case for Beginners
34mDynamic Pattern Matching with Python
30mFaster, Faster! Improving regex performance with atomic grouping, possessive quantifiers and more!
33mSource code processing with Python
