You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All scripts that contain regexes not prefixed with the r character complain aboutSyntaxWarning: invalid escape sequence XX for all escape sequences. Can be simply resolved by throwing an r in front of the strings (used on some sequences but not all).
Easiest way I found was to do a search for: re.search re.sub compile
And I think that caught all the instances?
The text was updated successfully, but these errors were encountered:
All scripts that contain regexes not prefixed with the
r
character complain aboutSyntaxWarning: invalid escape sequence XX
for all escape sequences. Can be simply resolved by throwing anr
in front of the strings (used on some sequences but not all).Easiest way I found was to do a search for:
re.search
re.sub
compile
And I think that caught all the instances?
The text was updated successfully, but these errors were encountered: