Compare commits
No commits in common. "0c4bc87ee98fd77378a77072cbaa43dc8cab48c8" and "10fc07ec030a96de46f9ab8cde85aa7c9a33ffbc" have entirely different histories.
0c4bc87ee9
...
10fc07ec03
|
|
@ -311,7 +311,7 @@ namespace IRaCIS.Application.Services
|
||||||
{
|
{
|
||||||
|
|
||||||
//检查手机或者邮箱是否有效
|
//检查手机或者邮箱是否有效
|
||||||
if (!Regex.IsMatch(email, @"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$"))
|
if (!Regex.IsMatch(email, @"^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"))
|
||||||
{
|
{
|
||||||
|
|
||||||
//---请输入一个正确的邮箱。
|
//---请输入一个正确的邮箱。
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue