Raw string literals use backticks (`) instead of quotes (") and thus, do not support any escape sequences. This means that the backslash (\) can be used freely, without escaping.
Since regular expressions have their escape sequences, raw strings can improve their readability.
regexp.Compile("\\A(\\w+) profile: total \\d+\\n\\z")
regexp.Compile(`\A(\w+) profile: total \d+
\z`)