It's awesome that you used the regex exactly as it appears in http://www.python.org/dev/peps/pep-0263/.

Perhaps mention it in a comment?