ipv4MaybeStr top-level property
The pattern used by the ipv4Maybe regular expression. The pattern matches any string that contains a valid IPv4 address. The pattern allows for optional leading and trailing digits, an optional decimal point, and an optional exponent part (e.g., e+10 or E-10).
Implementation
String ipv4MaybeStr = r'^(\d?\d?\d)\.(\d?\d?\d)\.(\d?\d?\d)\.(\d?\d?\d)$';