The point of single-quoted strings is that they don't support escape characters.
The documentation says this very clearly:
All other instances of backslash will be treated as a literal backslash: this means that the other escape sequences you might be used to, such as
or
, will be output literally as specified rather than having any special meaning.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…