🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #211363

Re: [Dialog] Scoring Dialog in the Header

#211363
From: Peter J Ross
Date: Fri, 07 Dec 2007 20:48
37 lines
2168 bytes
In news.software.readers on Fri, 7 Dec 2007 09:06:42 -0600, MikeV06
<me@mycomputer06.invalid.com> wrote:

> I have been trying to figure out a better expression to score Dialog or
> 40tude or ... in the header.
>
> This 
>
> [news.software.readers]
> # =+100 Subject "Dialog"
> =+100 Subject {^.*(40-?t..e|D.a?i?l.?g)}
>
> gets this one
>
> Subject: [dialog] warnng popups how to stop?
>
> but also gets these
>
> Subject: If you'll practise Annabel's delegation with toes, it'll easily
> depict the fighter.

Yes, your regex matches "delegation" and lots of other stuff.

I think you're making it far too complicated. Try:

	(40tude|dialog)

It's rare to see either of those misspelled, but I suppose you could
use stuff like

	((40|forty)tude|d(ia|ai)log)

if the need arises.


-- 
PJR :-)
Technical Details
Message-ID: <slrnfljccl.oea.pjr@pjr.gotdns.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
References: <1si0bt6uhdnee$.dlg@mycomputer06.invalid.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfljccl.oea.pjr@pjr.gotdns.org>
Subject: Re: [Dialog] Scoring Dialog in the Header
Date: Fri, 07 Dec 2007 20:48:21 +0000
From: Peter J Ross <pjr@example.invalid>
References: <1si0bt6uhdnee$.dlg@mycomputer06.invalid.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 37
Reply-To: Peter J Ross <pjr.spam@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX189dHDVGBkr2XnfMGJOZELScggTAMaXmjV6qZ8VHPuS/Mw59XEXDTzVXVvO1dA5mc/CUivZWgjMu/McpierHDinQn1DiThYiiVn1YC/A/Z51AAxl9u+E0jFTG+tf92nSqY=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Fri, 7 Dec 2007 20:50:03 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1/fybpoD0FRasnzmXlvWSVx
Cancel-Lock: sha1:9gVJrXKsIWwwxqC1lii9JiS+KCo=
User-Agent: slrn/pre0.9.9-69 (Linux)