comparison pidgin-twitter.c @ 43:caa42301f520

fixed changeset 41:0a81ccfa1941
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 13 May 2008 02:22:05 +0900
parents 68db38b5b401
children 4f456c7150ed
comparison
equal deleted inserted replaced
42:68db38b5b401 43:caa42301f520
529 g_regex_new 529 g_regex_new
530 ("^\\s*(?:[\"#$%&'()*+,\\-./:;<=>?\\[\\\\\\]_`{|}~]|[^\\s\\x21-\\x7E])*([dDfFgGlLmMnNtTwW]{1})(?:\\Z|\\s+|[^\\x21-\\x7E]+\\Z)", 530 ("^\\s*(?:[\"#$%&'()*+,\\-./:;<=>?\\[\\\\\\]_`{|}~]|[^\\s\\x21-\\x7E])*([dDfFgGlLmMnNtTwW]{1})(?:\\Z|\\s+|[^\\x21-\\x7E]+\\Z)",
531 G_REGEX_RAW, 0, NULL); 531 G_REGEX_RAW, 0, NULL);
532 regp[EXCESS_MARKUP] = 532 regp[EXCESS_MARKUP] =
533 g_regex_new 533 g_regex_new
534 ("<a href=\"http://twitter.com/([A-Za-z0-9_]+)\">\\1</a>", 0, 0, 534 ("<a href=\"http://twitter.com/([A-Za-z0-9_]+?)\">\\1</a>", 0, 0,
535 NULL); 535 NULL);
536 regp[FONT_MARKUP] = g_regex_new("<font .+?>(.+?)</font>", 0, 0, NULL); 536 regp[FONT_MARKUP] = g_regex_new("<font .+?>(.+?)</font>", 0, 0, NULL);
537 regp[ATMARK_AFTER_A] = g_regex_new("(<a href=.+?>)@", 0, 0, NULL); 537 regp[ATMARK_AFTER_A] = g_regex_new("(<a href=.+?>)@", 0, 0, NULL);
538 538
539 /* attach counter to the existing twitter window */ 539 /* attach counter to the existing twitter window */