MinterTeam / minter-console-web

Official Minter Console website
https://console.minter.network
MIT License
35 stars 22 forks source link

update mns domain regular expression #12

Closed masquel closed 5 years ago

shrpne commented 5 years ago

Thank you! Now I see that 1 letter domain should pass validation too.

I have fixed it in 9764c9981b29b13b3e4696af9b3fb35f33d64a61

closing this PR, because I need DOMAIN_REG_EXP to pass first part of domain too (e.g. "a."), to make sure that while user typing a domain the validation will handle it like domain and not like default Mx address or Mp pubkey validation