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??
Space, tab, line feed (newline), carriage return, form feed, and vertical tab characters are called "white-space characters" because they serve the same purpose as the spaces between words and lines on a printed page — they make reading easier.
The ASCII code for a blank space is the decimal number 32, or the binary number 0010 00002.
noun. the unprinted area of a piece of printing, as of a poster or newspaper page, or of a portion of a piece of printing, as of an advertisement; blank space. White space is as effective in a layout as type.
\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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With