Create Regex From String Python Documentation Functions