[twitter-dev] Re: Regex for @replies

2009-05-21 Thread hjb
They will link up to 20 but are limited to 15. Hmm On May 14, 4:59 pm, Tim Rosenblatt trose...@gmail.com wrote: Hey Craig, We found an addition to this. Your regex is great, but it doesn't limit the length of screen names. Twitter doesn't allow signups greater than 15 chars (but in

[twitter-dev] Re: Regex for @replies

2009-05-14 Thread Tim Rosenblatt
Hey Craig, We found an addition to this. Your regex is great, but it doesn't limit the length of screen names. Twitter doesn't allow signups greater than 15 chars (but in tweets, it will actually link up to 20 chars). So, @abcdefghijklmnopqrstuvwxyz will be linked out to @abcdefghijklmnopqrst

[twitter-dev] Re: Regex for @replies

2009-05-12 Thread hjb
@Doug, Is this behavour likely to remain? ( I noticed that @replies and - @replies are successful ) That is to say, I'm sure @replies will work at some point via sms, but can we rely on the fact that _...@replies do not? Is this related to there being any chance of it being an email

[twitter-dev] Re: Regex for @replies

2009-05-12 Thread CaMason
It looks like they're simply applying this regex as a test: (?![\w])@username(?![\w]) Thus, if a character on either side is not (a-z, A-Z, 0-9, _) then it is a mention. any 'word' character (a-z, A-Z, 0-9, _) on either side of '@screenname' causes the mention to fail. (I hope I got the regex

[twitter-dev] Re: Regex for @replies

2009-05-12 Thread moz
ericdoesdot...@gmail.com wrote: Such a regular expression is used in the Twitter client that I am related to development. This regular expression. It is the one of .NET Framework2.0 and VisualBasic.NET2005. Dim id As New Regex(@[a-zA-Z0-9_]+)

[twitter-dev] Re: Regex for @replies

2009-05-12 Thread Doug Williams
Harry, There is nothing on the product roadmap that would lead to me believe any of the findings here will change. Thanks, Doug -- Doug Williams Twitter Platform Support http://twitter.com/dougw On Tue, May 12, 2009 at 4:33 AM, hjb ha...@heatonmoor.com wrote: @Doug, Is this behavour

[twitter-dev] Re: Regex for @replies

2009-05-11 Thread Doug Williams
The classic definition of an @reply is any tweet that starts with @user. If you perfrom a to:user (e.g. to:dougw) query at search.twitter.com you will only get @replies. @replies were converted to mentions after we realized people didn't just @reply. Mentions are any tweet that contain @user

[twitter-dev] Re: Regex for @replies

2009-05-11 Thread CaMason
Thanks Doug, that's a great help. How about preceding? i.e. should t...@dougw, _...@dougw or @dougw create mentions? The main concern here obviously is email addresses. And finally, are screen names case sensitive? :) Cheers On May 11, 6:07 pm, Doug Williams d...@twitter.com wrote: The