match: use raw strings to avoid illegal baskslash escape

Authored by indygreg.

Description

match: use raw strings to avoid illegal baskslash escape

Python 3.8 was complaining about the invalid escape
sequences. Let's use raw strings to avoid the warning and
double baskslashes.

Differential Revision: https://phab.mercurial-scm.org/D6293