mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
应该是常量
This commit is contained in:
parent
24c9d354e9
commit
df92485ade
@ -17,7 +17,7 @@ public class PhoneUtil {
|
||||
/**
|
||||
* 座机号码
|
||||
*/
|
||||
private static Pattern TEL = Pattern.compile("0\\d{2,3}-[1-9]\\d{6,7}");
|
||||
private static final Pattern TEL = Pattern.compile("0\\d{2,3}-[1-9]\\d{6,7}");
|
||||
|
||||
/**
|
||||
* 验证是否为手机号码(中国)
|
||||
|
Loading…
x
Reference in New Issue
Block a user