Refactoring

This commit is contained in:
Kalutka Zhenya 2022-01-28 12:26:13 +02:00
parent f17380597f
commit d05887baa4

View File

@ -14,9 +14,8 @@
/// limitations under the License. /// limitations under the License.
/// ///
import { ValidatorFn, Validators } from '@angular/forms'; import { ValidatorFn } from '@angular/forms';
import { isNotEmptyStr, isNumber } from '@core/utils'; import { isNotEmptyStr, isNumber } from '@core/utils';
import { number, string } from 'prop-types';
export const smtpPortPattern: RegExp = /^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/; export const smtpPortPattern: RegExp = /^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/;