chore: 更新日志

This commit is contained in:
any86 2021-04-20 13:58:34 +08:00
parent e801a13e8c
commit e11719698d
3 changed files with 7 additions and 2 deletions

2
.gitattributes vendored
View File

@ -1 +1 @@
packages/* linguist-vendored
packages/*/** linguist-vendored

View File

@ -1,6 +1,11 @@
# 更新日志
🚀 [提交问题](https://github.com/any86/any-rule/issues/new)
### 0.3.9(2021-04-20)
- 新增"GUID/UUID"正则.
- 修复ip中的"."没有被转义.
### 0.3.8(2021-01-17)
- 优化一些冗余的正则拼写
- 修复新能源汽车不匹配第三位为字母的情况.

View File

@ -98,7 +98,7 @@ module.exports = [{
examples: ['21fe181c5bfc16306a6828c1f7b762e8'],
},
{
title: 'GUID(Globally Unique Identifier 全球唯一标识符) / UUID(Universally Unique IDentifier)',
title: 'GUID/UUID',
rule: /^[a-f\d]{4}(?:[a-f\d]{4}-){4}[a-f\d]{12}$/i,
examples: ['e155518c-ca1b-443c-9be9-fe90fdab7345', '41E3DAF5-6E37-4BCC-9F8E-0D9521E2AA8D', '00000000-0000-0000-0000-000000000000'],
},