We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f967e4 + cd2eed6 commit cc91141Copy full SHA for cc91141
func/main.sh
@@ -613,7 +613,7 @@ is_dns_record_format_valid() {
613
614
# Email format validator
615
is_email_format_valid() {
616
- if [[ ! "$1" =~ "@" ]] ; then
+ if [[ ! "$1" =~ ^[A-Za-z0-9._%+-]+@[[:alnum:].-]+\.[A-Za-z]{2,63}$ ]] ; then
617
check_result $E_INVALID "invalid email format :: $1"
618
fi
619
}
0 commit comments