[sylpheed:30399] Re: Filter syntax

Hiroyuki Yamamoto hiro-y at kcn.ne.jp
Mon Nov 13 11:02:37 JST 2006


Hello,

On Sun, 12 Nov 2006 12:54:51 -0800
John Jason Jordan <johnxj at comcast.net> wrote:

> I want to create a filter rule that will move to trash all messages
> containing certain specific words in the Subject. I have created the
> rule, but evidently I have to add a new line for each word. For
> example, if I want to filter the message if it contains Roger, Sally,
> Betty or James I have to create four lines. I thought I should be able
> to do this with one line, just by separating the words with a comma,
> or "OR" or something. I read the manual, but can't find anything about
> syntax for filter rules. Is what I want to do possible? If so, how?
> And if you can specify such things by syntax in a rule, is there
> documentation for the syntax somewhere? TIA

You can use "match to regex" in that case: "(Roger|Sally|Betty|James)"

-- 
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>


More information about the Sylpheed mailing list