docs: Correct escape sequence for Python 3.12 or later
From Python 3.12, Python starting to deprecating the practice of treating invalid escape sequence as literal string.
SyntaxWarning: invalid escape sequence '.'
Those escape sequence is meant for the regex engine.
Let's tell Python to read them as raw string instead.