Merge branch 'develop' of https://github.com/any86/any-rule into develop

This commit is contained in:
any86 2020-06-10 09:20:44 +08:00
commit ad6ec26f4d

View File

@ -319,5 +319,10 @@ module.exports = [{
title: 'mac地址',
rule: /^((([a-f0-9]{2}:){5})|(([a-f0-9]{2}-){5}))[a-f0-9]{2}$/i,
examples: ['38:f9:d3:4b:f5:51','00-0C-29-CA-E4-66']
}
];
},
{
title: '匹配连续重复的字符',
rule: /(.)\1+/,
examples: ['我我我','112233','11234']
}
];