Re: What to do about SEARCH?

[email protected] Thu, 6 Mar 2003 15:49:44 -0500
Newsgroups gmane.mail.bikini.devel
Message-ID <[email protected]>
On Thu, Mar 06, 2003 at 09:44:59PM +0100, Frank Tegtmeyer wrote:
> Charles Cazabon <[email protected]> writes:
> 
> > matches?  Full-blown pcre?  Somewhere in between?
> > 
> > Lots of questions.  Few answers.
> 
> To add one: what should be returned? A list of messages only, the
> matching lines or even some kind of surrounding environment?

A multiline list of matching messages. 

> The default for search strings should be a simple wildcard mechanism,
> for power users it should be switchable to regular expressions.

User interface issue, not a protocol issue. There's no reason not
to always make it a regexp.

> What about combination of criteria? What may be useful is a
> combination of time period (upper/lower limit), Author (From:) and
> search text.

Only the headers are being searched; within those limits, feel free to
craft a regexp which needs to match a Date:, a From: and whatever else.

> I didn't read the spec yet, but remember that folders are included. So
> also a search through one folder / all folders may be good criteria.

No, it should only apply to the current folder.

-dsr-

-- 
Network engineer looking for work in Boston area.
Resume at http://tao.merseine.nu/~dsr/