whiteSpace method
Appends whitespace character, same as \t\n\x0B\f\r
Example: var regex = FluentRegex() .whiteSpace(); expect(regex.hasMatch(' '), true); expect(regex.hasMatch('\u0009'), true); expect(regex.hasMatch('\n'), true); expect(regex.hasMatch('\x0B'), true); expect(regex.hasMatch('\f'), true); expect(regex.hasMatch('\r'), true); expect(regex.hasMatch('h'), false);
Implementation
FluentRegex whiteSpace([Quantity quantity = const Quantity.oneTime()]) =>
FluentRegex._copyWith(this,
expression: '$_expression${SpecialCharacter.whiteSpace}$quantity');