Mixed
Claude and ChatGPT both proved incapable of creating regex to do this; my code wasn't perfect either, but it was closer than they came
gcanyon on Hacker News
In the thread “Do you want to be doing this when you're 50? (2012)”
Helped: Manual coding produced better results than AI attempts.
Got in the way: AI models failed to create correct regex for URL parsing.
… 1. Stripping down various badly-formed urls to just their main domain -- Claude and ChatGPT both proved incapable of creating regex to do this; my code wasn't perfect either, but it was closer than they came. 2. …