From a19f7b155208dc9f8a0058d0d01861b593b10ed5 Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 24 Jan 2003 16:29:44 +0000 Subject: [PATCH] Removed trailing / on email address. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@370 e3e1d417-86f3-4887-817a-d78f3d33393f --- zmconfig.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmconfig.pl.in b/zmconfig.pl.in index 43f0ff990..4b805cda8 100755 --- a/zmconfig.pl.in +++ b/zmconfig.pl.in @@ -63,7 +63,7 @@ my %types = file => { hint => 'filename', parse => sub { return( int($_[0] =~ /^([a-zA-Z0-9-_.]+)$/ ), $1 ) } }, hostname => { hint => 'host.your.domain', parse => sub { return( int($_[0] =~ /^([a-zA-Z0-9_.-]+)$/ ), $1 ) } }, url => { hint => 'http://host.your.domain/', parse => sub { return( int($_[0] =~ /^(?:http:\/\/)?(.+)$/ ), 'http://'.$1 ) } }, - email => { hint => 'your.name@your.domain/', parse => sub { return( int($_[0] =~ /^([a-zA-Z0-9_.-]+)\@([a-zA-Z0-9_.-]+)$/ ), "$1\@$2" ) } }, + email => { hint => 'your.name@your.domain', parse => sub { return( int($_[0] =~ /^([a-zA-Z0-9_.-]+)\@([a-zA-Z0-9_.-]+)$/ ), "$1\@$2" ) } }, string => { hint => 'string', parse => sub { return( int($_[0] =~ /^([a-zA-Z0-9-_]+)$/ ), $1 ) } }, boolean => { hint => 'yes|no', parse => sub { return( int($_[0] =~ /^([yn])/i ), ($1 && $1 =~ /^y/) ? 'yes' : 'no' ) } }, integer => { hint => 'integer', parse => sub { return( int($_[0] =~ /^(\d+)$/ ), $1 ) } },