🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #114585

Re: "Near to" filter. Does it exist ?

#114585
From: Murray Peterson
Date: Sun, 17 Nov 2002 08:13
22 lines
1860 bytes
John Fitzsimons <xpm4senn001@sneakemail.com> wrote in
news:wg6oxohx0llk$.dlg@aspects.org.au: 

> I don't remember seeing anyone talking about "near to" filters for
> Dialog. Do we have them ? For example if I wanted a filter that had
> "make money" and "fast" with "fast" needing to be within 60 characters
> of the former then what would the syntax be please ?
> 

I don't know Dialog's filtering language.syntax, but I know that you can do 
it with regular expressions.  The (untested) Xnews filter would be:

Subject: make.money.{1,60}fast

Mind you, I also wonder why you would care about the word "fast" at all -- 
the word "money" should be enough by itself to be spam in many groups.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID: <Xns92C9CA45E8C9farkle@24.71.223.159>
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!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!prodigy.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
References: <wg6oxohx0llk$.dlg@aspects.org.au>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92C9CA45E8C9farkle@24.71.223.159>
Subject: Re: "Near to" filter. Does it exist ?
Date: Sun, 17 Nov 2002 08:13:28 GMT
From: Murray Peterson <mwp@home.com.invalid>
References: <wg6oxohx0llk$.dlg@aspects.org.au>
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!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!prodigy.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
X-Trace-PostClient-IP: 68.145.202.240
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/5.04.25
Lines: 21
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse@shaw.ca
X-Trace: news3.calgary.shaw.ca 1037520808 24.71.223.147 (Sun, 17 Nov 2002 01:13:28 MST)
NNTP-Posting-Date: Sun, 17 Nov 2002 01:13:28 MST