hugo/docs/content/en/quick-reference/glossary/raw-string-literal.md
2025-02-13 10:40:34 +01:00

409 B

title reference
raw string literal https://go.dev/ref/spec#String_literals

A raw string literal is a character sequences between backticks, as in `bar`. Within the backticks, any character may appear except a backtick. Backslashes have no special meaning and the string may contain newlines. Carriage return characters (\r) inside raw string literals are discarded from the raw string value.