[Mailman-Developers] pipermail: subjects with "Re[2]:" are not recognized as reply
Heinrich Langos
heinrich@wh9.tu-dresden.de
Tue, 28 Nov 2000 12:26:44 +0100
hi there.
seems like the "The Bat" mailer inserts a counter into the "Re:" subject line
so that "Re[2]:blah blah" or "Re[3]: more blah blah" show up.
these are not cought by Mailman/Archiver/HyperArch.py and therefore
are not sorted into the thread that they belong to.
this is the line in Mailman/Archiver/HyperArch.py that seems to be
responsible for it.
--------------------
# Subject lines preceded with 'Re:'
REpat = re.compile( r"\s*RE\s*:\s*", re.IGNORECASE)
--------------------
i don't know python but if the regex is like perl a change like
this should do the job:
-----------------
REpat = re.compile( r"\s*RE\s*(\[\d*\])??\s*:\s*", re.IGNORECASE)
-----------------
as i said i don't have a clue about python and i don't want to test
it right now since i have an active list and i don't want to miss any
mails in the archive ...
i would appreciate if somebody could check it out and tell me if it works.
and tell me if i have to recompile those HyperArch.pyc and HyperArch.pyo files.
cheers and thanx for that nice program.
-heinrich
ps: i run mailman 1.1 but i checked the CVS archive and the regex used
for REpat seems to be the same.
pps: i submitted this as a bug in sourceforge as well .. so if you fix
it you can close it there too.
ppps: i am not subscribed to mailman-developers@python.org so please
include me in CC:'s
--
Heinrich Langos <heinrich@null.net>
pgp: http://wh9.tu-dresden.de/~heinrich/pub_pgp_key.asc
_________________________________________________________________
|o| The reason we come up with new versions is not to fix bugs. |o|
|o| It's absolutely not. It's the stupidest reason to buy a new |o|
|o| version I ever heard. -- Bill Gates, Microsoft Corporation |o|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~