Regex Pattern Matching Python Install