Email regex validation 2024

I tried this lock/src/field/email.js at 4aaefa4a9ed00423e665e0743a7b0a952c6a267d · auth0/lock · GitHub
but when I try this email. It still pass. banhmikepthit@mycompany.co-.cc

And when I check in create user in manage. It’s not correct. So can you explain me why and where can I find the regex for email? Please it’s urgent.