This commit is contained in:
Andreas Österreicher
2008-09-05 11:46:45 +00:00
parent c3c3be43c1
commit 1d9f18d922
16 changed files with 305 additions and 133 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ function strtoupperFULL($str)
// ****************************************************************
function checkalias($alias)
{
if($anz = preg_match("/^[a-z0-9]*[a-z0-9]{1,}\.[a-z0-9]{1,}$/",$alias))
if($anz = preg_match("/^[-a-z0-9]*[a-z0-9]{1,}\.[-a-z0-9]{1,}$/",$alias))
return true;
else
return false;