Re: [twitter-dev] How does twitter recognize @username in tweets?
On Tue, Dec 01, 2009 at 07:14:25PM -0800, yegle wrote: I have a saved search which is yegle -...@yegle to track tweets which intends to mention me, I found some tweets with format described below can be found using yegle -...@yegle but also appear in my reply_timeline: Here is sometext and then w...@yegle (no space before the @ ) So my question is, what regex does twitter use to recognize @username in tweets? You're imagining that this is being handled in a more complex (more intelligent?) way than it actually is. The search function operates on complete words only, with no special-case handling for @usernames. w...@yegle doesn't match @yegle for the same reason it doesn't match it: they're substrings embedded within the word, not the complete word. -- Dave Sherohman
[twitter-dev] How does twitter recognize @username in tweets?
Hi I'm new here, and forgive me if someone have asked this question. I have a saved search which is yegle -...@yegle to track tweets which intends to mention me, I found some tweets with format described below can be found using yegle -...@yegle but also appear in my reply_timeline: Here is sometext and then w...@yegle (no space before the @ ) So my question is, what regex does twitter use to recognize @username in tweets? If I search with -...@yegle, that means the search results won't have any tweets which doesn't mention me right? And I think twitter should announce the regex so client developers can recognize @username just the same as twitter.com.