pattern property
Flutter's format; the same rule the IDE extensions validate against.
Implementation
static final pattern =
RegExp(r'^\d+\.\d+\.\d+(?:[-.][0-9A-Za-z.-]+)?(?:\+\d+)?$');
Flutter's format; the same rule the IDE extensions validate against.
static final pattern =
RegExp(r'^\d+\.\d+\.\d+(?:[-.][0-9A-Za-z.-]+)?(?:\+\d+)?$');