[#80334782] use \A and \z instead of ^ and $
Merge pull request #509 from Tahi-project/email-regex

[#80334782] use \A and \z instead of ^ and $