On 11/13/2016 03:57 PM, Larry Kuenning wrote:
> On 11/13/2016 5:17 PM, Cyndi Norwitz wrote:
> 
>> My latest failure is: ^[^@]+@(.*\.)*\.top$
> 
> It looks like what fails here is that the expression requires two dots
> before "top":  some...@something..top would be caught but not
> some...@something.top.  So try this:
> 
> ^[^@]+@(.*\.)*top$
> 
> Or probably better:
> 
> ^[^@]+@[^@]+\.top$
> 


Or even just

^.*\.top$

Or to get more than one tld with one regexp

*.*\.(site|win|othertop)$

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to