Fix a bunch of invalid escape sequence warnings

This MR fixes a few 'invalid escape sequence' warnings.

Merge request reports