Javascript Use Variable Inside Regex Pattern In Pythons