Python Use Variable In Regex Pattern Matching