Corrected REGEX in User.php.