Sign your name in pkg-descr is useless or useful?
Edwin Groothuis
edwin at mavetju.org
Sat Mar 27 00:14:08 PST 2004
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 at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-ports
mailing list