Mercurial > pidgin-twitter
changeset 143:71c027f4f95d
fixed a problem that retrieving icon from twitter failed if file name contains '-'. pointed out by mojin.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 23 Jul 2008 16:54:02 +0900 |
parents | b573b534f32d |
children | bef8f96ce8f2 |
files | pidgin-twitter.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin-twitter.h Wed Jul 23 15:41:59 2008 +0900 +++ b/pidgin-twitter.h Wed Jul 23 16:54:02 2008 +0900 @@ -133,7 +133,7 @@ #define P_USER_FORMATTED "^.*?<a .+?>([A-Za-z0-9_]+)</a>:" #define P_CHANNEL "^(.*?<a .+?>[A-Za-z0-9_]+</a>: \\r?\\n?#)([A-Za-z0-9_]+) " #define P_IMAGE_IDENTICA "<img src=\"(http://avatar.identi.ca/[A-Za-z0-9-.]+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>" -#define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://[A-Za-z0-9_./]+)\" .+?/>" +#define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://[A-Za-z0-9_./-]+)\" .+?/>" /* twitter API specific macros */ #define TWITTER_BASE_URL "http://twitter.com"