Create Regex From String Python Definition Computer