CharacterClass.whitespace constructor

const CharacterClass.whitespace({
  1. bool negated = false,
})

Matches whitespace characters, such as space character, new line breaks, tabs, etc. Represented as \s (negated: \S).

Implementation

const CharacterClass.whitespace({this.negated = false,}): symbol = "\\s";