PhoneSubmitRegexValidator constructor

PhoneSubmitRegexValidator()

Implementation

PhoneSubmitRegexValidator()
    : super(
          regexSource:
              r'(^\s*(?:\+?(\d{1,3}))?[-. (]*(\d{3})[-. )]*(\d{3})[-. ]*(\d{4})(?: *x(\d+))?\s*$)');