提案 #1269 » handle-mobile-twitter-com.patch
core/plugin/twitter/model/message.rb | ||
---|---|---|
14 | 14 |
extend Memoist |
15 | 15 | |
16 | 16 |
PermalinkMatcher = Regexp.union( |
17 |
%r[\Ahttps?://twitter.com/(?:#!/)?(?<screen_name>[a-zA-Z0-9_]+)/status(?:es)?/(?<id>\d+)(?:\?.*)?\Z], # Twitter |
|
17 |
%r[\Ahttps?://(?:mobile\.)?twitter.com/(?:#!/)?(?<screen_name>[a-zA-Z0-9_]+)/status(?:es)?/(?<id>\d+)(?:\?.*)?\Z], # Twitter
|
|
18 | 18 |
%r[\Ahttp://favstar\.fm/users/(?<screen_name>[a-zA-Z0-9_]+)/status/(?<id>\d+)], # Hey, Favstar. Ban stop me premiamu! |
19 | 19 |
%r[\Ahttp://aclog\.koba789\.com/i/(?<id>\d+)] # Hey, Twitter. Please BAN me rhenium! |
20 | 20 |
).freeze |