Using Variable In Regex Python Documentation Dictionary