Ruby - Escape Sequences Flashcards
1
Q
\
A
Backslash ()
2
Q
\’
A
Single-quote (‘)
3
Q
\”
A
Double-quote (“)
4
Q
\a
A
ASCII bell (BEL)
5
Q
\b
A
ASCII backspace (BS)
6
Q
\f
A
ASCII formfeed (FF)
7
Q
\n
A
ASCII linefeed (LF)
8
Q
\r
A
ASCII Carriage Return (CR)
9
Q
\t
A
ASCII Horizontal Tab (TAB)
10
Q
\ uxxxx
A
Character with 16-bit hex value xxxx (Unicode only)
11
Q
\v
A
ASCII vertical tab (VT)
12
Q
\ooo
A
Character with octal value ooo
13
Q
\xhh
A
Character with hex value hh