White-space characters is a set of characters that contains:
They are part of the non printing characters.
They may be a difference between the class:
as seen below between the regular expression definition and unicode.
In regular expression, the [:space:] class contains the following characters.
Name | Unicode | Regexp Shorthand |
---|---|---|
Horizontal Tabulation | HT (9, 0x009) | \t |
Linefeed | LF (10, 0x00A) | \n |
Formfeed | FF (12, 0x00C) | \f |
Carriage Return | CR (13, 0x00D) | \r |
Space | space (32, 0x0020) | \s |
Note that the shorthand:
See the whole set on Unicode by giving the class [:whitespace:]
They are generally replaced by visible characters