fix: "只包含中文"增加"+$"

This commit is contained in:
宁宁 2019-06-28 11:41:33 +08:00
parent 2785290795
commit d3725deb62

View File

@ -58,7 +58,7 @@ module.exports = [
}, },
{ {
title: '只包含中文', title: '只包含中文',
rule: /^[\u4E00-\u9FA5]/, rule: /^[\u4E00-\u9FA5]+$/,
example: '如: 正则、前端' example: '如: 正则、前端'
}, },
{ {