This commit is contained in:
Looly 2021-09-17 19:15:43 +08:00
parent 8e2a1ab1ef
commit 96c83cb16b
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
-------------------------------------------------------------------------------------------------------------
# 5.7.13 (2021-09-15)
# 5.7.13 (2021-09-17)
### 🐣新特性
* 【core 】 CsvReadConfig增加trimField选项issue#I49M0C@Gitee
@ -19,6 +19,7 @@
* 【core 】 修复UrlBuilder对Fragment部分编码问题issue#I49KAL@Gitee
* 【core 】 修复Enum转换的bugissue#I49VZB@Gitee
* 【json 】 修复JSONUtil.parse对于MapWrapper识别问题
* 【core 】 修复IdcardUtil.isValidCard判断问题issue#I4AJ8S@Gitee
-------------------------------------------------------------------------------------------------------------

View File

@ -326,6 +326,7 @@ public class IdcardUtil {
} else if (idcard.matches("^[157][0-9]{6}\\(?[0-9A-Z]\\)?$")) { // 澳门
info[0] = "澳门";
info[1] = "N";
info[2] = "true";
} else if (idcard.matches("^[A-Z]{1,2}[0-9]{6}\\(?[0-9A]\\)?$")) { // 香港
info[0] = "香港";
info[1] = "N";