digit constant

String const digit

Implementation

static const String digit = r'^\d+(.\d{1,2})?$';