Regular Expression Python Definition Functionalist