Next / Previous / Contents / TCC Help System / NM Tech homepage

28.5. re: Regular expression pattern-matching

The re module provides functions for matching strings against regular expressions. See the O'Reilly book Mastering Regular Expressions by Friedl and Oram for the whys and hows of regular expressions. We discuss only the most common functions here. Refer to the Python Library Reference for the full feature set.