July 2007
Intermediate to advanced
128 pages
2h 39m
English
Python provides a rich, Perl-like regular expression syntax in the re module. The re module uses a Traditional NFA match engine. For an explanation of the rules behind an NFA engine, see "Introduction to Regexes and Pattern Matching.”
This chapter will cover the version of re included with Python 2.3.5, although the module has been available in similar form since Python 1.5.