https://c.runoob.com/front-end/854 //正则表达式在线测试 | 菜鸟工具
//版本号验证 V**.**.** 1.^([V]+[1-9]{1}[0-9]{0,2})+(\.[0-9]{2})+(\.[0-9]{2})$ 2. version: { pattern: /^([V])+([1-9]\d|[1-9])(.([1-9]\d|\d)){2}$/, message: '版本格式错误', trigger: ['blur', 'change'] },
2024-03-29 08:41:16
https://c.runoob.com/front-end/854 //正则表达式在线测试 | 菜鸟工具
//版本号验证 V**.**.** 1.^([V]+[1-9]{1}[0-9]{0,2})+(\.[0-9]{2})+(\.[0-9]{2})$ 2. version: { pattern: /^([V])+([1-9]\d|[1-9])(.([1-9]\d|\d)){2}$/, message: '版本格式错误', trigger: ['blur', 'change'] },