OT: regex to find email

Robert Brewer fumanchu at amor.org
Thu Sep 23 00:28:22 CEST 2004


Fredrik Lundh wrote:
> Jorgen Grahn wrote:
> > I've seen no references to RFC 2822 in this thread ... 
> > please note that what
> > all these regexes catch is unlikely to be exactly the set 
> > of all valid RFC
> > 2822 addresses.
> 
> ...
> what morally sound reasons are there to scrape mail addresses
> from text documents, btw?

One would be to take user-supplied web page content, search for email
addresses, and automatically enclose them in mailto hyperlinks.


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org



More information about the Python-list mailing list