"http://www.w3.org/TR/html4/loose.dtd"> > re is a standard Python module. It handles regular expressions. For further information about re you can read http://python.org/doc/2.2/lib/module-re.html