mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix bug
This commit is contained in:
parent
8e2a1ab1ef
commit
96c83cb16b
@ -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转换的bug(issue#I49VZB@Gitee)
|
||||
* 【json 】 修复JSONUtil.parse对于MapWrapper识别问题
|
||||
* 【core 】 修复IdcardUtil.isValidCard判断问题(issue#I4AJ8S@Gitee)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user