escape sequence

noun
UK /ɪˈskeɪp ˈsiːkwəns/
US /ɪˈskeɪp ˈsiːkwəns/

A special set of characters that tells a computer to do something different, like start a new line.

In many programming languages, the escape sequence \n makes the text move to a new line.


OTHER MEANINGS

2. In terminal emulation, a sequence of characters beginning with the escape character that controls cursor movement or screen formatting.

The program sent an escape sequence to clear the terminal screen.

3. In regular expressions, a backslash followed by a character that changes the character's special meaning.

The escape sequence \. matches a literal dot instead of any character.

4. In data serialization, a coded sequence used to represent characters that would otherwise be ambiguous or unprintable.

The JSON parser interpreted the escape sequence \" as a quotation mark inside the string.