alpha
Login
or
Join now
4uffin.bsky.social
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
My own copy of Tangled :)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
remove unused func
author
Akshay
committer
Anirudh Oppiliappan
date
1 year ago
(Mar 22, 2025, 3:06 PM +0200)
commit
07a3c034
07a3c034fee56b38a7efd581636e6ae92bb46f8c
parent
0035de0b
0035de0bf58c7495858661e0af800e4a5feadebb
-6
1 changed file
Expand all
Collapse all
Unified
Split
appview
email
email.go
-6
appview/email/email.go
Reviewed
···
61
61
62
62
return true
63
63
}
64
64
-
65
65
-
func IsValidEmailSimple(email string) bool {
66
66
-
pattern := `^[a-zA-Z0-9.!#$%&'*+/=?^_\x60{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$`
67
67
-
regex := regexp.MustCompile(pattern)
68
68
-
return regex.MatchString(email) && len(email) <= 254 && len(email) >= 3
69
69
-
}