Fix regexp constructor
This commit is contained in:
parent
3516263140
commit
e221706123
|
@ -1 +1 @@
|
|||
export const domainFormat = new RegExp(/^[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-Z]{2,}$/
|
||||
|
|
Loading…
Reference in New Issue