mhonarc-users

Question about subjectstripcode

2000-09-07 22:39:16
Hi All,

I use subjectstripcode to strip the subject prefix my mailing lists adds
automatically, but lately I wanted to try stripping the subject prefix even
if it's preceded by 'Re:'. I thought this would do it, but it doesn't:

<SUBJECTSTRIPCODE>
s/^\IML://;
s/^\Re: IML://;
s/^\RE: IML://;
s/^\re: IML://;
$_ = 'No Subject' unless /\S/;
</SUBJECTSTRIPCODE>

Perhaps it all has to be in one line of Perl? My regex abilities are still
below par, so perhaps someone else has done this and can help out. :)

Many Thanks,
Manuel Alvarez

<Prev in Thread] Current Thread [Next in Thread>