Use raw string (r"") for SQL containing regex pattern to avoid Python SyntaxWarning about invalid escape sequence '\.'