Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.brim-lang.com/llms.txt

Use this file to discover all available pages before exploring further.

What this means

an unknown escape sequence was used in a string or character literal

Metadata

  • Code: E1004
  • Default level: Error
  • Phase: Lexer
  • Canonical docs URL: https://docs.brim-lang.com/diagnostics/E1004
  • Tags: lexer

How to fix

  • use a valid escape sequence such as \n, \t, \, or “

Typical output

E1004: invalid escape sequence
note: an unknown escape sequence was used in a string or character literal