nonDigit method

FluentRegex nonDigit([
  1. Quantity quantity = const Quantity.oneTime()
])

Appends non-digit, same as ^0-9

Example: var regex = FluentRegex().nonDigit(); expect(regex.hasMatch('l'), true); expect(regex.hasMatch('W'), true); expect(regex.hasMatch('5'), false); expect(regex.hasMatch('_'), true); expect(regex.hasMatch('%'), true);

Implementation

FluentRegex nonDigit([Quantity quantity = const Quantity.oneTime()]) =>
    FluentRegex._copyWith(this, expression: '$_expression\\D$quantity');