Quantity.exactly constructor

const Quantity.exactly(
  1. int times
)

Example: var regex = FluentRegex().literal('a', Quantity.exactly(2)); expect(regex.hasMatch(''), false); expect(regex.hasMatch('a'), false); expect(regex.hasMatch('aa'), true); expect(regex.findFirst('aaa'), 'aa');

Implementation

const Quantity.exactly(int times) : this._('{$times}');