Date: Fri, 26 Mar 2004 18:58:25 -0700 From: Robin Schoonover <end@endif.cjb.net> To: Sergey Matveychuk <sem@ciam.ru> Cc: ports@freebsd.org Subject: Re: Sign your name in pkg-descr is useless or useful? Message-ID: <20040327015828.DF20E43D2F@mx1.FreeBSD.org> 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, 27 Mar 2004 02:47:46 +0300 (MSK), Sergey Matveychuk wrote: > > The reason I suggested the first syntax is so just the email > > address could be simply parsed. > > 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]+ > it could be more complex of course for more strict errors chechking. > You can have . in the first part too (and probably other characters). You don't know how complex and difficult it can be to parse an email addresses until you actually try to bring a regexp into use. :P -- Robin Schoonover (aka End) # # If a program is useless, it will be documented #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040327015828.DF20E43D2F>