perf: 优化MD5正则的长度(#256)

This commit is contained in:
Russell 2022-07-20 09:08:23 +08:00
parent 508b202424
commit 37a6d1e457

View File

@ -98,7 +98,7 @@ module.exports = [{
},
{
title: 'md5格式(32位)',
rule: /^([a-f\d]{32}|[A-F\d]{32})$/,
rule: /^[a-fA-F0-9]{32}$/,
examples: ['21fe181c5bfc16306a6828c1f7b762e8'],
},
{