config.feilong-validator-regex.properties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of feilong Show documentation
Show all versions of feilong Show documentation
feilong is a suite of core and expanded libraries that include utility classes, http, excel,cvs, io classes, and much much more.
# This file must contain only ISO 8859-1 characters.
# See https://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream)
# 手机号码的正则表达式
regex_pattern_mobile=^1[3456789]\\d{9}$
# 大陆的电话号码
regex_pattern_telephone=^(\\d{3,4}-)?\\d{6,8}(-\\d{1,6})?$
# 大陆的电话号码(必须要有区号)
regex_pattern_telephone_must_areacode=^\\d{3,4}-\\d{6,8}(-\\d{1,6})?$
# 邮政编码
regex_pattern_telephone_zipcode=^\\d{6}$