Using Variable In Regex Python Documentation