我的第三项错误尝试就是:
var check = {
pattern : patterns =
{
name: /^[a-zA-Z-s]{1,20}$/,
email: /^[a-zA-Z0-9._(-)]+@[a-zA-Z0-9.(-)]+.[a-zA-Z]{1,4}$/,
pass: /.{6,40}/,
url: /^[(-)w&:/.=?,#+]{1,}$/,
aml: /<(.+)_([a-z]){1}>$/
};
};