Date: Sat, 27 Mar 2004 11:10:15 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: Sergey Matveychuk <sem@ciam.ru> Subject: Re: Sign your name in pkg-descr is useless or useful? Message-ID: <20040327001015.GC2124@k7.mavetju> Resent-Message-ID: <20040327081341.22DF76199@k7.mavetju> In-Reply-To: <20040327022929.B22129@avim.ciam.ru> References: <opr5eiuf0f8ckrg5@smtp.central.cox.net> <c3uoks$193u$1@kemoauc.mips.inka.de> <4062FF7A.2040509@ciam.ru> <c3v3kn$1drs$1@kemoauc.mips.inka.de> <20040326232205.GD57192@sirius.firepipe.net> <20040327022929.B22129@avim.ciam.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 27, 2004 at 02:47:46AM +0300, Sergey Matveychuk wrote: > IMHO Email address could be simply parsed any way. > Regexp not so difficult for it: > [A-Za-z0-9_-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]+ You're forgetting the + in the username (see java/kafe) I would go for "[\s<](.+?@.+?)[>\s]" Not sure if it is e?sed compatible. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040327001015.GC2124>