<script language="vbscript">
//检验邮件格式的正确
Function isemail(strng)
isemail = false
Dim regEx,Match
set RegEx = new RegExp
RegEx.Pattern = "^\w+((-\w+)|(.\w+))*@[A-Za-z0-9]+((.|-)[A-Za-z0-9]+)*.[A-Za-z0-9]+$"
RegEx.IgnoreCase = true
set Match = RegEx.Execute(strng)
if Match.count then isemail = true
End if
End Function
</script>
这样写错在哪里?