Message127230
Could just expand the docs to show examples of customizing behavior through monkey-patching or subclassing:
class MyConfigParser(ConfigParser):
SECTRE = re.compile(r'[\*(?P<header>[^]]+)\s*]'
or:
RawConfigParser.SECTRE = re.compile(r'[\*(?P<header>[^]]+)\s*]' |
|
Date |
User |
Action |
Args |
2011-01-27 22:13:03 | rhettinger | set | recipients:
+ rhettinger, fdrake, r.david.murray, lukasz.langa, Kunjesh.Kaushik |
2011-01-27 22:13:03 | rhettinger | set | messageid: <1296166383.13.0.973884691091.issue11027@psf.upfronthosting.co.za> |
2011-01-27 22:13:02 | rhettinger | link | issue11027 messages |
2011-01-27 22:13:02 | rhettinger | create | |
|