Re: Regex validation

From: Date: Thu, 30 Oct 2008 16:36:16 +0000
Subject: Re: Regex validation
Groups: php.general 
Request: Send a blank email to php-general+get-282635@lists.php.net to get a copy of this message
var_dump(imap_rfc822_parse_adrlist('"! # $ % & * + - / = ? ^ _ ` { | } ~"', '')); This looks like a valid localhost email address to me... What's wrong with it? :-v You may want to check that "host" is non-empty, if you do not expect any localhost users, and fail on that condition, however.

« previous php.general (#282635) next »