Python Dynamically Create Regex