Regular Expression Python Definition Functionally Illiterate