mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix regex
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
* 【core 】 修复Convert.numberToSimple转换问题(issue#2334@Github)
|
* 【core 】 修复Convert.numberToSimple转换问题(issue#2334@Github)
|
||||||
* 【core 】 修复TemporalAccessorConverter导致的转换问题(issue#2341@Github)
|
* 【core 】 修复TemporalAccessorConverter导致的转换问题(issue#2341@Github)
|
||||||
* 【core 】 修复NumberUtil除法空指针问题(issue#I58XKE@Gitee)
|
* 【core 】 修复NumberUtil除法空指针问题(issue#I58XKE@Gitee)
|
||||||
|
* 【core 】 修复CAR_VIN正则(pr#624@Gitee)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -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
|
* eg:430101758218
|
||||||
|
Reference in New Issue
Block a user