Using Variable In Regex Python Documentation Library