check-commit: use raw string for regular expression

Authored by indygreg.

Description

check-commit: use raw string for regular expression

Avoids SyntaxWarning on Python 3.8.

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

Details