Refactoring
This commit is contained in:
parent
f17380597f
commit
d05887baa4
@ -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])$/;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user