[pan2: 12/23] fix subject_to_path bug.
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 12/23] fix subject_to_path bug.
- Date: Sun, 29 May 2011 13:04:33 +0000 (UTC)
commit cfb1ccb24bd94b6630766eabd8b12f4fc49462c1
Author: K. Haley <haleykd users sf net>
Date: Wed May 25 21:25:22 2011 -0600
fix subject_to_path bug.
pan/usenet-utils/text-massager.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/usenet-utils/text-massager.cc b/pan/usenet-utils/text-massager.cc
index cee9d2e..155d427 100644
--- a/pan/usenet-utils/text-massager.cc
+++ b/pan/usenet-utils/text-massager.cc
@@ -408,7 +408,7 @@ pan :: subject_to_path (const char * subjectline, const std::string &seperator)
GRegex *fn =g_regex_new("\"[^\"]+?\" yEnc.*" "|"
"\\S++\\s++yEnc.*" "|"
"\"[^\"]+?\\.\\w{2,}\"" "|"
- "\\S+\\.\\w{3,4}", cf0, mf0, NULL);
+ "\\S+\\.\\w{2,4}", cf0, mf0, NULL);
str1 = g_regex_replace_literal(fn, str2, -1, 0, "", mf0, NULL);
g_free(str2);
g_regex_unref(fn);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]