I just want to point out that using a non-escaped "++" in a regex pattern should no longer raise a "multiple error" in version 3.11, as it now has a specific meaning:
x*+, x++, and x?+ are equivalent to (?>x*), (?>x+), and (?>x?) respectively.
see re documentation