mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
邮箱校验添加对中文的支持
This commit is contained in:
@@ -121,6 +121,8 @@ public class ValidatorTest {
|
||||
Assertions.assertTrue(email3);
|
||||
final boolean email4 = Validator.isEmail("xiaolei.Lu@aaa.b");
|
||||
Assertions.assertTrue(email4);
|
||||
final boolean email5 = Validator.isEmail("luxiaolei_小磊@小磊.com");
|
||||
Assertions.assertTrue(email5);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user