MCPcopy Index your code
hub / github.com/Tencent/APIJSON / isEmail

Method isEmail

APIJSONORM/src/main/java/apijson/StringUtil.java:544–551  ·  view source on GitHub ↗

判断email格式是否正确 @param email @return

(String email)

Source from the content-addressed store, hash-verified

542 * @return
543 */
544 public static boolean isEmail(String email) {
545 if (isEmpty(email, true)) {
546 return false;
547 }
548
549 current = email;
550 return PATTERN_EMAIL.matcher(email).matches();
551 }
552
553
554 /**判断是否全是验证码

Callers 1

getCorrectEmailMethod · 0.95

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected