Hacker News new | ask | show | jobs
by DLWormwood 5804 days ago
I just double-checked my profile page, and there is no blank for a Twitter account. How did you scrub the profile field to detect such accounts? (Mine’s the same username between HN, Twitter, and Reddit, among others.)
1 comments

I just made a bunch of regular expressions that capture phrases like "http://twitter.com/foobar or "I'm @foobar on twitter", etc.
Did you include https://twitter.com?
Yes, you're in the db. :)
Hehe. You would be surprised (or maybe not) with the number of Chrome extension developers that don't consider https.