CharacterClass.whitespace constructor
const
CharacterClass.whitespace({
- 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";