100+ is nothing.
This is a regex that validates a string against the RFC822 "Standard for ARPA Internet Text Messages" and it contains 6424 characters.
This is a Tony the Pony situation almost.
Re:Check If Email Exists
by slaymaker1907 on Friday July 02, 2021 @02:56AM
(#27708554)
This really seems like it is plagiarizing the regex from somewhere without citation.
It looks like it:
all AI is plagiarizing something, though. Computers cannot reason, they can just jam stuff together that satisfies whatever the program says.
ML is matrix math (generally) - stuff that you can do by hand, computers are faster at it. As fancy as GPT and co-pilot are, it's all copied from somewhere.
Re:Check If Email Exists
by cyberCleve on Friday July 02, 2021 @12:32AM
(#27707833)
Does it work?
Re:Check If Email Exists
by justinator on Friday July 02, 2021 @02:45AM
(#27708484)
Yeah basically, but it doesn't validate an email address ([email protected]), it validates say, the From: header of a MIME message, which could contain an email address, a phrase (like a first and last name) comments, and all sorts of dumb dumb ideas like having phrases that have embedded comments and phrases that look like email addresses but aren't and on and on and on. This RFC is a trainwreck and whoever wrote it should feel bad about themselves.
I think of email validation like encryption: don’t roll your own, and don’t trust an AI to do it either.
Edit: Here's the regex: https://gist.github.com/cassidoo/6101ef0657665683b787aab5ae9...