Mercurial > p > roundup > code
comparison roundup/configuration.py @ 3854:f4e8dc583256
Restored subject parser regexp to the string it was before the...
...implementation of customization of it, i.e., the version from
CVS revision 1.184 of mailgw.py.
This makes 'testFollowupTitleMatchMultiRe' work again.
| author | Erik Forsberg <forsberg@users.sourceforge.net> |
|---|---|
| date | Sat, 12 May 2007 16:14:54 +0000 |
| parents | b66615f3007b |
| children | 83748b2de465 |
comparison
equal
deleted
inserted
replaced
| 3853:d1eb694edcc7 | 3854:f4e8dc583256 |
|---|---|
| 1 # Roundup Issue Tracker configuration support | 1 # Roundup Issue Tracker configuration support |
| 2 # | 2 # |
| 3 # $Id: configuration.py,v 1.42 2007-04-03 06:36:08 a1s Exp $ | 3 # $Id: configuration.py,v 1.43 2007-05-12 16:14:54 forsberg Exp $ |
| 4 # | 4 # |
| 5 __docformat__ = "restructuredtext" | 5 __docformat__ = "restructuredtext" |
| 6 | 6 |
| 7 import ConfigParser | 7 import ConfigParser |
| 8 import getopt | 8 import getopt |
| 683 "designator [prefix]. \"never\" turns off matching.\n" | 683 "designator [prefix]. \"never\" turns off matching.\n" |
| 684 "\"creation + interval\" or \"activity + interval\"\n" | 684 "\"creation + interval\" or \"activity + interval\"\n" |
| 685 "will match an issue for the interval after the issue's\n" | 685 "will match an issue for the interval after the issue's\n" |
| 686 "creation or last activity. The interval is a standard\n" | 686 "creation or last activity. The interval is a standard\n" |
| 687 "Roundup interval."), | 687 "Roundup interval."), |
| 688 (RegExpOption, "refwd_re", "\s*\W?\s*(fw|fwd|re|aw|sv|ang)\W\s*", | 688 (RegExpOption, "refwd_re", "(\s*\W?\s*(fw|fwd|re|aw|sv|ang)\W)+", |
| 689 "Regular expression matching a single reply or forward\n" | 689 "Regular expression matching a single reply or forward\n" |
| 690 "prefix prepended by the mailer. This is explicitly\n" | 690 "prefix prepended by the mailer. This is explicitly\n" |
| 691 "stripped from the subject during parsing."), | 691 "stripped from the subject during parsing."), |
| 692 (RegExpOption, "origmsg_re", | 692 (RegExpOption, "origmsg_re", |
| 693 "^[>|\s]*-----\s?Original Message\s?-----$", | 693 "^[>|\s]*-----\s?Original Message\s?-----$", |
