add support of integers in TLD (closes #2313)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-01-20 22:20:32 +03:00
parent 36afd6b3ca
commit 79654eff3c
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
export const domainFormat = /^[a-zA-Z0-9][a-zA-Z0-9-.]{0,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}$/
export const domainFormat = /^[a-zA-Z0-9][a-zA-Z0-9-.]{0,61}[a-zA-Z0-9]\.[a-zA-Z0-9]{2,}$/