Update RULES.js

This commit is contained in:
losting 2022-11-25 14:16:10 +08:00 committed by GitHub
parent 0c5bb2c90d
commit 3b5a440413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,8 +327,8 @@ module.exports = [{
},
{
title: '16进制颜色',
rule: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3}|[a-fA-F0-9]{8})$/,
examples: ['#f00', '#F90', '#000', '#fe9de8', '#f8f8f8ff']
rule: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3}|[a-fA-F0-9]{8}|[a-fA-F0-9]{4})$/,
examples: ['#f00', '#F90', '#000', '#fe9de8', '#f8f8f8ff', '#f003']
},
{
title: '微信号(wx)6至20位以字母开头字母数字减号下划线',