Hello Gary Johnson,

Am 2010-06-22 15:43:14, hacktest Du folgendes herunter:
> I think he wants to thread messages by subject, ignoring the leading
          ^^

> message ID in brackets and the trailing author's name in
> parentheses.  The reply_regexp can tell mutt to ignore one
> contiguous string in the subject, which is usually anchored to the
> start of the subject, but Michelle wants mutt to ignore two
> strings--one at the start of the subject and one at the end--and
> consider only the string in the middle when threading by subject.

Right!  For some month I have askd for :

----[ '~/.mutt/hook-folder' ]-------------------------------------------
folder-hook . 'set strict_threads=yes; \
               set sort_re=yes; \
               set reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*"'

folder-hook .ML_electronic.Microchip    'set strict_threads=no; \
                                         set sort_re=yes; \
                                         set 
reply_regexp="^((\\[mc\\-forum\\]|\\[[a-z][a-z0-9 
:-]+[0-9]\\]|(re(\\[[0-9]\\])?|\\?\\?):)[ \t]*)+"'
------------------------------------------------------------------------

and it work perfectly!  Now I need to add a third line

----8<------------------------------------------------------------------
folder-hook .ML_electronic.Microchip.RSS 'set strict_threads=no; \
                                         set sort_re=yes; \
reply_regexp="^((\\[.*[0-9]+[0-9]\\]|\\[[a-z][a-z0-9 
:-]+[0-9]\\]|(re(\\[[0-9]\\])?|\\?\\?):)[ \t]*)+\\(.*[a-z0-9\\)"'
----8<------------------------------------------------------------------

which give me headache...

> As far as I know, mutt can't do that with the current reply_regexp
> mechanism.

Hmmm, I can get the different message numbers at the beginning with:

    ^((\\[.*[0-9]+[0-9]\\]

and it works as you can see in my first post...

BUT, -- the two messages found had the EXACTLY same subject  except  the
Message number at the beginning.  This was  working  because  the  user,
shown in the () at the end of the Subject: which submited  the  message,
was the same.  The other subjects had diffeent "senders" and  where  not
recognized.

This is whay I have tried to get the 

    (some_sender)

or ignoring it at the end of the subject using

    +\\(.*[a-z0-9\\)

bt it does not wotk

> Regards,
> Gary

Any suggestion how to let mutt ignore the last part  of the message?

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL       itsyst...@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber [email protected]
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature

Reply via email to