We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Shouldn't the problem define what would a "valid" email address look like?
I have checked my regex quite a few times. I might have missed some cases, but it's like guessing in the dark!
As a last resort, I can of course download the failed test cases and check them but well, it might actually be better for everyone if the problem states the validity criteria clearly.
Thanks!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Detect the Email Addresses
You are viewing a single comment's thread. Return to all comments →
Shouldn't the problem define what would a "valid" email address look like? I have checked my regex quite a few times. I might have missed some cases, but it's like guessing in the dark!
As a last resort, I can of course download the failed test cases and check them but well, it might actually be better for everyone if the problem states the validity criteria clearly.
Thanks!