# HG changeset patch # User Yoshiki Yazawa # Date 1209984844 -32400 # Node ID 8a9bc21cd978e14a41a24b487d9ee0f357b08540 # Parent 06d9aae275c53dd32da6625dd0fd74ea285d7364 more improvement on regexp diff -r 06d9aae275c5 -r 8a9bc21cd978 pidgin-twitter.c --- a/pidgin-twitter.c Mon May 05 19:26:05 2008 +0900 +++ b/pidgin-twitter.c Mon May 05 19:54:04 2008 +0900 @@ -413,7 +413,8 @@ G_REGEX_RAW, 0, NULL); regp[PSEUDO] = g_regex_new( - "^(?:\\s*[\"#$%&'()*+,\\-./:;<=>?\\[\\\\\\]_`{|}~]*[^\\s\\x21-\\x7E]*)([dDfFgGlLmMnNtTwW]{1})(?:\\Z|\\s+|[^\\x21-\\x7E]+\\Z)", +// "^(?:\\s*[\"#$%&'()*+,\\-./:;<=>?\\[\\\\\\]_`{|}~]*[^\\s\\x21-\\x7E]*)([dDfFgGlLmMnNtTwW]{1})(?:\\Z|\\s+|[^\\x21-\\x7E]+\\Z)", + "^\\s*(?:[\"#$%&'()*+,\\-./:;<=>?\\[\\\\\\]_`{|}~]|[^\\s\\x21-\\x7E])*([dDfFgGlLmMnNtTwW]{1})(?:\\Z|\\s+|[^\\x21-\\x7E]+\\Z)", G_REGEX_RAW, 0, NULL); }