Update RULES.js

This commit is contained in:
losting 2022-11-23 12:34:01 +08:00 committed by GitHub
parent 92f50702aa
commit 583c72361a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,7 +327,7 @@ module.exports = [{
}, },
{ {
title: '16进制颜色', title: '16进制颜色',
rule: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3}|[a-fA-F0-9]{9})$/, rule: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3}|[a-fA-F0-9]{8})$/,
examples: ['#f00', '#F90', '#000', '#fe9de8', '#f8f8f8ff'] examples: ['#f00', '#F90', '#000', '#fe9de8', '#f8f8f8ff']
}, },
{ {