bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail regex


From: Sam Roberts
Subject: Re: mail regex
Date: Sat, 11 Aug 2001 15:08:08 -0400
User-agent: Mutt/1.3.16i

Quoting Alain Magloire <address@hidden>, who wrote:
> > Quoting Sergey Poznyakoff <address@hidden>, who wrote:
> > > Actually, I am thinking about a more general approach. Sometimes it
> > > is necessary to select letters on the contents of an arbitrary
> > > header.  So, I'd extend the search syntax to something like
> > > 
> > >   Received:/.*mirddin.*/
> > > 
> > > meaning select all the letters with the given regexp in Received: header.
> > > If the "header:" portion is omitted, it defaults to Subject:.
> > > Any comments?
> > 
> > Have you looked at Mutt's pattern's? They do this, here's an excerpt from
> > the docs:
> > 
> >   4.2.  Patterns
> > 
> >   Many of Mutt's commands allow you to specify a pattern to match
> >   (limit, tag-pattern, delete-pattern, etc.).  There are several ways to
> >   select messages:
> 
> I certainly like the idea of extending the search to other parts of messages,
> like envelope, attribute, headers and body.  But Mutt's syntax does not go
> well with mailx way of doing things.

Not to sure why you say they are so incompatible. I took Sergey's comment to
mean that mailx has a search command, and that he wants to extend it to some
of the header fields, and he proposed a syntax. Mutt has a search command,
too. I think it's syntax has been fairly well used, and found to be useful,
so you guys may want to consider emulating it, or at least look at
it's capabilities to find some inspiration on what may be cool. Si j'ai
malcomprende (est ce'que ca une vraie mot?), c'est bien aussi!

Ok, back to my errands (work 5 days, run errands 1 day, get a 1 day weekend,
this is not life).

A bientot!
Sam

-- 
Sam Roberts <address@hidden> (Vivez sans temps mort!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]