From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: How do I check if the format of an email address is valid? Date: Fri, 31 Mar 2006 00:25:23 +0200 Message-ID: <442C5AD3.3090004@student.lu.se> References: <442BD086.9090805@student.lu.se> <87mzf762xq.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143757554 31731 80.91.229.2 (30 Mar 2006 22:25:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Mar 2006 22:25:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 31 00:25:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FP5aK-0005Pr-PT for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Mar 2006 00:25:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FP5aK-00084w-9T for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Mar 2006 17:25:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FP5a9-00084R-CP for help-gnu-emacs@gnu.org; Thu, 30 Mar 2006 17:25:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FP5a6-00083w-PY for help-gnu-emacs@gnu.org; Thu, 30 Mar 2006 17:25:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FP5a6-00083r-Je for help-gnu-emacs@gnu.org; Thu, 30 Mar 2006 17:25:30 -0500 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FP5cM-0004V3-OV for help-gnu-emacs@gnu.org; Thu, 30 Mar 2006 17:27:50 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.070) id 441DB94F002F7DAB; Fri, 31 Mar 2006 00:25:23 +0200 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: Pascal Bourguignon In-Reply-To: <87mzf762xq.fsf@thalassa.informatimago.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34088 Archived-At: Pascal Bourguignon wrote: > Lennart Borgman writes: > >> Thanks Reiner! Two small worries: >> >> - `message-valid-fqdn-regexp' (which is copied to >> gnus-button-valid-local-part-regexp') has a list of TLD:s. Is this >> really wise? I guess there will be new TLD:s. (In fact there may >> already be some that are not in this list.) >> > > You can customize the variable! > This argument can be used in the reverse direction too. Do most users really gain something from the list of known TLD:s in the regexp? > > >> - It is maybe a pitty that you have to load those big modules (message >> and gnus) just to get the patterns. >> > > > You only need to (require 'message) to get message-valid-fqdn-regexp. > In anycase, if you're processing email addresses, it's rather probable > you'll have to process emails too. > > And you only need to (require 'gnus-art) to get the other variables. > I just want to check the format of email addresses entered on a html page. > >> And then I can not stop myself from wondering if there really are any >> format of email addresses that asures that conforming addresses are >> actually existing email adresses ;-) >> > > Of course not. > And I will probably never learn the fine art of joking in email messages ;-)