I'm taking a course on lexical analysis, and \t\v\r is used in the lexer token definitions to represent white spaces. What are \v and \r exactly??
            Asked
            
        
        
            Active
            
        
            Viewed 2.6k times
        
    24
            
            
        
        Mosh Feu
        
- 28,354
 - 16
 - 88
 - 135
 
        user1297061
        
- 1,531
 - 2
 - 13
 - 15
 
2 Answers
31
            \t is a horizontal tab, \v is a vertical tab and \r is a carriage return.
They are certainly a sub-set of white space characters.
        Roger Rowland
        
- 25,885
 - 11
 - 72
 - 113
 
25
            
            
        \'  Single quote (')
\"  Double quote (")
\a  ASCII Bell (BEL)
\b  ASCII Backspace (BS)
\f  ASCII Formfeed (FF)
\n  ASCII Linefeed (LF)
\N{name}    Character named name in the Unicode database (Unicode only)
\r    ASCII Carriage Return (CR)
\t    ASCII Horizontal Tab (TAB)
\uxxxx  Character with 16-bit hex value xxxx (Unicode only) (1)
\Uxxxxxxxx  Character with 32-bit hex value xxxxxxxx (Unicode only) (2)
\v    ASCII Vertical Tab (VT)
        Iulian Onofrei
        
- 9,188
 - 10
 - 67
 - 113
 
        Sabareesh
        
- 3,585
 - 2
 - 24
 - 42