Python Regex Extract Substring Between Two Characters Clashing