Hacker News new | ask | show | jobs
by 0xFluegel 2115 days ago
I can see how that happens immediatly...

    var domain = addr.split(['@','.']).take_last(2)
    var tld = domain[1]
    // check TLD against wacky rules...
See, boss, it's easy. What's next?
1 comments

It's also possibly just some arcane regex incantation that someone implemented 12 years ago and nobody has been able to decipher it since.