Re: Invalid Email Characters

From: Date: Sun, 13 Jan 2002 23:11:53 +0000
Subject: Re: Invalid Email Characters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80389@lists.php.net to get a copy of this message
On Sun, 13 Jan 2002, Peter J. Schoenster wrote: > You might want to look at the regular expression constructed by > Jeffrey Friedl as described here: > > > http://builder.cnet.com/webbuilding/pages/Programming/Scripter/05 > 2098/ss01.html In this example \w matches any "word" character. A word character can be any character specified by the current locale, including accents, etc., so I suggest using [a-z0-9_] instead of \w. -- Gabor Gludovatz <ggabor@sopron.hu> - Phone: +36 (20) 9 109 129 http://www.sopron.hu/~ggabor/ - ICQ# 861 404

« previous php.general (#80389) next »