Skip to content

Commit

Permalink
Fix #15762: case insensitive email parsing regex
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Apr 16, 2013
1 parent d2bc53e commit 4cb774c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/email_api.php
Expand Up @@ -76,7 +76,7 @@ function email_regex_simple() {
$t_subdomain = "(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)";
$t_domain = "(${t_subdomain}(?:\.${t_subdomain})*)";

$s_email_regex = "/${t_recipient}\@${t_domain}/";
$s_email_regex = "/${t_recipient}\@${t_domain}/i";
}
return $s_email_regex;
}
Expand Down

0 comments on commit 4cb774c

Please sign in to comment.