You can use the sequence \e in a string or character constant to stand for the ASCII character ESC (\x1B).
\e
\x1B