"js " <[EMAIL PROTECTED]> writes: > Here, domain name doesn't contain subdomain, > or should I say, domain's part of 'www', mail, news and en should be > excluded.
It's a little more complicated, you have to treat co.uk about the same way as .com, and similarly for some other countries but not all. For example, subdomain.companyname.de versus subdomain.companyname.com.au or subdomain.companyname.co.uk. You end up needing a table or special code to say how to treat various countries. -- http://mail.python.org/mailman/listinfo/python-list