Mercurial > pidgin-twitter
changeset 24:8a9bc21cd978
more improvement on regexp
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Mon, 05 May 2008 19:54:04 +0900 |
parents | 06d9aae275c5 |
children | 1b784171b08a |
files | pidgin-twitter.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }