Character - Whitespace


White-space characters is a set of characters that contains:

They are part of the non printing characters.

Space set

They may be a difference between the class:

  • space
  • and whitespace

as seen below between the regular expression definition and unicode.

Regular expression

In regular expression, the [:space:] class contains the following characters.

Note that the shorthand:

  • \S select anything that is not a whitespace character
  • \s or [:space:] select any whitespace character

Unicode code

See the whole set on Unicode by giving the class [:whitespace:]

How to

Show them

Powered by ComboStrap