Whitespaces

Whitespace is any non-empty string containing only characters that have the below Unicode properties:

  • U+0009 (horizontal tab, '\t')
  • U+000B (vertical tab)
  • U+000C (form feed)
  • U+0020 (space, ' ')
  • U+0085 (next line)
  • U+200E (left-to-right mark)
  • U+200F (right-to-left mark)
  • U+2028 (line separator)
  • U+2029 (paragraph separator)

New lines

New line are used as end-of-line separators:

  • U+000A (line feed, '\n')
  • U+000D (carriage return, '\r')