sorry for my poor english, but when I use the reg in the book like follow:
//check email.
function emailCheck(email) {
var reEmail = /^(?:\w+\.?)*\w+@(?:\w+\.?)*\w+$/;
return reEmail.test(email);
}
if the email's value less than 15 ,it will be fime,but if not it'll get wrong. Anyone can help me? thanks very much.