Reference incorrectly states backslashes not allowed in string interpolation

The compiler accepts "\(\String.startIndex)" and rejects "\(\\String.startIndex)". This is contrary to what is stated here:

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/lexicalstructure#String-Literals

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/stringsandcharacters#String-Interpolation

You've only linked to the section headings, but I presume you mean the following paragraphs:


Other examples (accepted by the compiler):

print("Single-line and \("""
multi\
line
""") string literals.")
print("""
Multiline and \(
  "single-line"
) string literals.
""")