Merge pull request #3085 from r4sas/master

add support of integers in TLD (closes #2313)
This commit is contained in:
AkiraFukushima 2022-01-21 22:05:08 +09:00 committed by GitHub
commit 5ddfd631af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,}$/