MCPcopy Create free account
hub / github.com/diyhi/bbs / isEmail

Method isEmail

src/main/java/cms/utils/Verification.java:292–297  ·  view source on GitHub ↗

验证邮箱 @param param 参数 @return

(String param)

Source from the content-addressed store, hash-verified

290 * @return
291 */
292 public static boolean isEmail(String param){
293 if (EMAIL.matcher(param).matches()) {
294 return true;
295 }
296 return false;
297 }
298
299 /**
300 * 验证座机

Callers 4

registerMethod · 0.95
validateMethod · 0.95
loginMethod · 0.80

Calls 1

matchesMethod · 0.65

Tested by

no test coverage detected