This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package business.common.constant;
import java.util.regex.Pattern;
/**
* 正则常量
*
* @author MrBird
*/
public interface RegexpConstant {
* 简单手机号正则(这里只是简单校验是否为 11位,实际规则更复杂)
String MOBILE = "[1]\\d{10}";
* 中文正则
Pattern CHINESE = Pattern.compile("[\u4e00-\u9fa5]");
}