mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
应该是常量
This commit is contained in:
@@ -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}");
|
||||
|
||||
/**
|
||||
* 验证是否为手机号码(中国)
|
||||
|
Reference in New Issue
Block a user