changeset 13:1a46d5039f0f

changed regexp pattern for sender. pointed out by nosuke.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 01 May 2008 15:54:41 +0900
parents 0d102bbb40bb
children e58e7c1fcbe5
files pidgin-twitter.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Thu May 01 15:30:18 2008 +0900
+++ b/pidgin-twitter.c	Thu May 01 15:54:41 2008 +0900
@@ -321,7 +321,7 @@
 
     /* compile regex */
     regp[RECIPIENT] = g_regex_new("@([A-Za-z0-9_]+)", 0, 0, NULL);
-    regp[SENDER]    = g_regex_new("^<body>([A-Za-z0-9_]+): ", 0, 0, NULL);
+    regp[SENDER]    = g_regex_new("<body>([A-Za-z0-9_]+): ", 0, 0, NULL);
 }
 
 PURPLE_INIT_PLUGIN(pidgin_twitter, init_plugin, info)