pattern property

RegExp pattern
final

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+)?$');