🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #213025

Re: [Dialog] Compound Expression Scoring

#213025
From: MikeV06
Date: Thu, 20 Dec 2007 16:22
31 lines
1849 bytes
On Mon, 17 Dec 2007 19:33:11 +0100, Enrico Bauer wrote:

> 17.12.2007 15:50:02, *MikeV06*:
>> Is it possible to score on two fields?
> 
> http://www.40tude.com/dialog/wiki/index.php/Frequently_Asked_Questions#Q:_How_can_I_combine_two_conditions_in_one_score_rule.3F
> 
> HTH
> Enrico

That lets me combine two conditions.

-100 Subject "sex" "viagra" "enlargement" -@From:"My Girlfriend"

However, I need some form of local variable that will let me capture the
part after the @ sign and then compare that. 

From: madding@foobar
Message-ID: <ed540117.a3c8a1d6@foobar>

local1 = From foobar and local2 = Message-ID foobar
-100 From local1 +@Message-ID local2

I have noticed the crappy messages that we are seeing in this group have
that characteristic.

So how do I create regex local variables in Dialog scoring?

Thanks.

Mike
Technical Details
Message-ID: <12j9i2oyyr9ki.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!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.suddenlink.net!not-for-mail
References: <429yh4yrka7e.dlg@mycomputer06.invalid.com> <171207.193311.nsr.65@ID-5349.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <12j9i2oyyr9ki.dlg@mycomputer06.invalid.com>
Subject: Re: [Dialog] Compound Expression Scoring
Date: Thu, 20 Dec 2007 10:22:21 -0600
From: MikeV06 <me@mycomputer06.invalid.com>
References: <429yh4yrka7e.dlg@mycomputer06.invalid.com> <171207.193311.nsr.65@ID-5349.user.uni-berlin.de>
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!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.suddenlink.net!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: None
Archive: yes
Lines: 31
NNTP-Posting-Host: 74.194.81.60
X-Complaints-To: abuse@suddenlink.net