Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diyhi/bbs
/ isPhone
Method
isPhone
src/main/java/cms/utils/Verification.java:304–309 ·
view source on GitHub ↗
验证座机 @param param 参数 @return
(String param)
Source
from the content-addressed store, hash-verified
302
* @
return
303
*/
304
public
static
boolean isPhone(String param){
305
if
(PHONE.matcher(param).matches()) {
306
return
true;
307
}
308
return
false;
309
}
310
311
/**
312
* 验证汉字
Callers
nothing calls this directly
Calls
1
matches
Method · 0.65
Tested by
no test coverage detected