🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #112384

Re: Dialog - wildcards in filters

#112384
From: Juergen Haible
Date: Sun, 27 Oct 2002 13:08
22 lines
1821 bytes
Lone Wolf:

> I need to filter on a header "From" field in a mailing list.
> 
> Header reads "From: sender <list@list.com>"
> 
> I need to filter on the list@list.com part; tried using an "*" as a wild 
> card for the sender but this doesn't seem to work.

There are no wildcards except for the single "*" matching everything, 
but these filters work like "anywhere in", so you can just use:

!move(listfolder) From "<list@list.com>"

If you need wildcards, you have to use regular expressions. Nothing to 
gain in this case, but if you want a really cool and more impressive 
filter ;-), you could also write it as:

!move(listfolder) From {^.*<list@list\.com>$}

-jh-
Technical Details
Message-ID: <1k1rh21iz0xln.dlg@freebee.dyndns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!eurocyber.net!newsfeed.muc.eurocyber.net!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <q85m19cd8cow.brbj0ak6wuw1.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1k1rh21iz0xln.dlg@freebee.dyndns.org>
Subject: Re: Dialog - wildcards in filters
Date: Sun, 27 Oct 2002 14:08:32 +0100
From: Juergen Haible <juergen.haible@t-online.de>
References: <q85m19cd8cow.brbj0ak6wuw1.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!eurocyber.net!newsfeed.muc.eurocyber.net!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 21
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1035724089 01 7260 soR4bcxSS9FwO5 021027 13:08:09
X-Complaints-To: abuse@t-online.com
X-Sender: 073813357-0002@t-dialin.net
User-Agent: 40tude_Dialog/2.0.2.1 (cfe0ab10.299.195) Hamster-Pg/1.5