format code

This commit is contained in:
Pan
2018-08-15 17:29:15 +08:00
parent 93e01b64d4
commit 53f3e7d5e6
13 changed files with 503 additions and 227 deletions

View File

@@ -40,4 +40,3 @@ export function validateEmail(email) {
const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
return re.test(email)
}