XF 1.5 How to ban an Email Domain ?

Lets say, I don't want to allow any Yahoo Email Ids for registration, below will do ?

ACP > User Discipline > Banned Email Addresses

Email to Ban: *@yahoo.com


Active member
I had to add *.yandex.com as a ban this week, been getting a lot of registrations that were caught by the spam filters for moderation over the past month from yandex.com email addresses. No sense in allowing them to try to register at all.