summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkontakt.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/kontakt.cgi b/kontakt.cgi
index 8a461fb..78e845f 100755
--- a/kontakt.cgi
+++ b/kontakt.cgi
@@ -35,7 +35,7 @@ my $form = CGI::FormBuilder->new(
/],
validate => {
postnr => 'INT',
- #email => 'MAIL', # Built-in email validation is too simplistic
+ #email => 'EMAIL', # Built-in email validation is too simplistic
email => '/^[+_A-Za-z0-9-]+(\.[+_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[_A-Za-z0-9-]+)$/',
antal => 'INT',
},