fix regex

This commit is contained in:
Looly 2022-05-24 17:24:26 +08:00
parent e344043932
commit 268f258537
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
* 【core 】 修复Convert.numberToSimple转换问题issue#2334@Github
* 【core 】 修复TemporalAccessorConverter导致的转换问题issue#2341@Github
* 【core 】 修复NumberUtil除法空指针问题issue#I58XKE@Gitee
* 【core 】 修复CAR_VIN正则pr#624@Gitee
-------------------------------------------------------------------------------------------------------------

View File

@ -168,7 +168,7 @@ public interface RegexPool {
* 十七位码车架号
* 车辆的唯一标示
*/
String CAR_VIN = "^[A-HJ-NPR-Z0-9]{17}$";
String CAR_VIN = "^[A-HJ-NPR-Z0-9]{8}[0-9X][A-HJ-NPR-Z0-9]{2}\\d{6}$";
/**
* 驾驶证 别名驾驶证档案编号行驶证编号
* eg:430101758218