mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
fix regex
This commit is contained in:
parent
e344043932
commit
268f258537
@ -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)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user