Fix syntax for invalid escape sequences.
Review Request #12114 — Created March 7, 2022 and submitted — Latest diff uploaded
We had a handful of strings that had invalid escape sequences. In many
of these cases, we were dealing with regexes that needed to be marked as
raw strings. In others, we just needed to fix the string.
Ran unit tests (under pytest) and saw no more warnings about invalid
string sequences.