Friday 10:50 a.m.–11:20 a.m.
Introduction to Regular Expressions
- Audience level:
- Python Core (language, stdlib, etc.)
Many developers, including quite a few experienced developers, are absolutely confounded by regular expressions. However, regular expressions aren't as difficult as many believe. In this talk, I will teach regular expressions by starting with the simple and moving toward the complex, so that you too can read and write regular expressions like a hero.
I will teach regular expressions by starting with the simple building blocks and moving toward the complex, which will give an understanding of how these various aspects of a well-formed regular expression work together to match (or not match) text. This talk will cover: character classes, repetition, string and word boundaries, and referencing all or part of a match for use later.