[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    I need some help with a regexp please
From:       Sorin Schwimmer <sxn02 () yahoo ! com>
Date:       2006-09-22 15:22:21
Message-ID: 20060922152221.27999.qmail () web56001 ! mail ! re3 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

My $0.02:

re.compile('^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|intl|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$')


I picked it up from the Net, and while it may be not perfect (you've got lots of \
reply's telling you why), it's good enough for me.

Good luck,
Sorin


[Attachment #5 (text/html)]

<html><head><style type="text/css"><!-- DIV {margin:0px;} \
--></style></head><body><div style="font-family:times new roman, new york, times, \
serif;font-size:12pt"><div>Hi,<br><br>My \
$0.02:<br><br>re.compile('^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|intl|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$')<br><br>I \
picked it up from the Net, and while it may be not perfect (you've got lots of \
reply's telling you why),<br>it's good enough for me.<br><br>Good \
luck,<br>Sorin<br></div></div><br></body></html>



-- 
http://mail.python.org/mailman/listinfo/python-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic