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.