$("#password").formValidator({onshow:"请输入8-12个字符",onfocus:"请填写密码",oncorrect:"输入正确"}).inputValidator({min:8,max:12,onerror:"请输入8-12个字符"}).regexValidator({ regexp:'^(?![a-zA-Z]+$)(?![a-z0-9]+$)(?![a-z!@#\\$%]+$)(?![A-Z0-9]+$)(?![A-Z!@#\\$%]+$)(?![0-9!@#\\$%]+$)[a-zA-Z0-9!@#\\$%]+$',onerror:"(字母大写,字母小写,数字,特殊字数)中任意3类"});
jquery regular check regexvalidator that's right, why is the regular expression, the checksum does not match the expected
Reply content:
$("#password").formValidator({onshow:"请输入8-12个字符",onfocus:"请填写密码",oncorrect:"输入正确"}).inputValidator({min:8,max:12,onerror:"请输入8-12个字符"}).regexValidator({ regexp:'^(?![a-zA-Z]+$)(?![a-z0-9]+$)(?![a-z!@#\\$%]+$)(?![A-Z0-9]+$)(?![A-Z!@#\\$%]+$)(?![0-9!@#\\$%]+$)[a-zA-Z0-9!@#\\$%]+$',onerror:"(字母大写,字母小写,数字,特殊字数)中任意3类"});
jquery regular check regexvalidator that's right, why is the regular expression, the checksum does not match the expected
Pay attention to your code