note 15071 added to function.preg-match.php

From: Date: Mon, 27 Aug 2001 08:12:35 +0000
Subject: note 15071 added to function.preg-match.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17180@lists.php.net to get a copy of this message
Isn't alphanumerics easier to check with the following? if (!preg_match("/^\w+$/",$pass)) { echo "error"; } http://www.php.net/manual/en/function.preg-match.php

« previous php.notes (#17180) next »