Closed psymbio closed 4 years ago
It's a pretty simple function, I looked online and it said that the code would be about half a page just to check whether it was an email or not. Then I tried regex.h and fnmatch.h too, but both of them didn't quite work out.
I guess it's up to you, to think about this pull request. If I get anything new, I will let you know.
Hi, @psymbio , thanks for the pull request. However, the code does not seem to check for valid email cases such as the presence of "." after the "@", white-spaces in the email.
So, I would not really be merging this code, but you sure can make a new PR if you can improve the function.
It's a pretty simple function, I looked online and it said that the code would be about half a page just to check whether it was an email or not. Then I tried regex.h and fnmatch.h too, but both of them didn't quite work out.
I guess it's up to you, to think about this pull request. If I get anything new, I will let you know.