Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Tencent/APIJSON
/ isPassword
Method
isPassword
APIJSONORM/src/main/java/apijson/StringUtil.java:530–532 ·
view source on GitHub ↗
判断手机格式是否正确 @param s @return
(String s)
Source
from the content-addressed store, hash-verified
528
* @
return
529
*/
530
public
static
boolean isPassword(String s) {
531
return
length(s, false) >= 6 && PATTERN_PASSWORD.matcher(s).matches();
532
}
533
/**判断是否全是数字密码
534
* @param s
535
* @
return
Callers
nothing calls this directly
Calls
1
length
Method · 0.95
Tested by
no test coverage detected