Why can’t I end a raw string with a backslash?

First the tokenizer looks for the closing quote. It recognizes backslashes when it does this, but doesn’t interpret them – it just looks for a sequence of string elements followed by the closing quote mark, where “string elements” are either (a character that’s not a backslash, closing quote or a newline – except newlines are allowed in triple-quotes), or (a backslash, followed by any single character).