includes/functions_user.php
changeset 18 36b05a593b41
parent 0 ceef6d64c21d
     1.1 --- a/includes/functions_user.php	Sat Mar 10 00:53:57 2012 +0400
     1.2 +++ b/includes/functions_user.php	Sat Mar 10 02:39:20 2012 +0400
     1.3 @@ -1501,7 +1501,7 @@
     1.4  
     1.5  		case 'USERNAME_ALPHA_SPACERS':
     1.6  			$pcre = true;
     1.7 -			$regex = '[A-Za-z0-9-[\]_+ ]+';
     1.8 +			$regex = '[A-Za-z0-9-_]+';
     1.9  		break;
    1.10  
    1.11  		case 'USERNAME_LETTER_NUM':
    1.12 @@ -3587,4 +3587,4 @@
    1.13  	return $user_data['group_id'];
    1.14  }
    1.15  
    1.16 -?>
    1.17 \ No newline at end of file
    1.18 +?>