When creating a new user, the email field would not accept a .ca domain. I have to create the user with a wrong domain and edit the user later to change it back to the readl domain.
Comments: I fell fowl of this today adding some UK users to my install. The "actual" problem with the default RegEx is it enforces 2 digit UPPERCASE values. So ".CA" will work but ".ca" will fail every time. The fix is simple: ``` [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:__[a-zA-Z]__{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)\b ``` Alternatively, use a simpler RegEx. A good one from [http://www.regular-expressions.info/email.html](http://www.example.com) is: ``` ^[a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$ ``` Regards, Andrew.
Comments: I fell fowl of this today adding some UK users to my install. The "actual" problem with the default RegEx is it enforces 2 digit UPPERCASE values. So ".CA" will work but ".ca" will fail every time. The fix is simple: ``` [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:__[a-zA-Z]__{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)\b ``` Alternatively, use a simpler RegEx. A good one from [http://www.regular-expressions.info/email.html](http://www.example.com) is: ``` ^[a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$ ``` Regards, Andrew.