From ba059e7a026731d79e7536799dd68d867e42a5a5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 28 Mar 2024 16:22:57 +0100 Subject: fix commented out syntax --- kontakt.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kontakt.cgi') 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', }, -- cgit v1.2.3