changeset 114:48bfe86ff990

fix a bug that linkfy channel name does not work if msn style is turned on.
author Yoshiki Yazawa <yaz@honeyplnaet.jp>
date Wed, 16 Jul 2008 01:30:28 +0900
parents 388a8ca50817
children 7d0dd0e1dbd0
files pidgin-twitter.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.h	Tue Jul 15 22:23:02 2008 +0900
+++ b/pidgin-twitter.h	Wed Jul 16 01:30:28 2008 +0900
@@ -76,7 +76,7 @@
 #define P_USER              "^\\(.+?\\)\\s*([A-Za-z0-9_]+):"
 #define P_USER_FIRST_LINE   "^\\(.+?\\)\\s*.+:\\s*([A-Za-z0-9_]+):"
 #define P_USER_FORMATTED    "^.*?<a .+?>([A-Za-z0-9_]+)</a>:"
-#define P_CHANNEL           "^(.*?<a .+?>[A-Za-z0-9_]+</a>: #)([A-Za-z0-9_]+) "
+#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_]+\"/>"
 
 /* debug macros */