🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264131

Re: [slrn] scoring

#264131
From: Marcel Logen
Date: Sat, 16 May 2020 16:17
34 lines
2161 bytes
Lewis in news.software.readers:

>I am trying to match for a specific string followed by a space in the
>From header
>
>Let's say, the name ATTENTION.
>
>I want to match
>
>"From: ATTENTION " followed by anything else

What about

   From: ATTENTION .*

or

   From: ^ATTENTION .*$

?

<http://slrn.sourceforge.net/docs/score.html> says:

| A keyword line begins with the name of the keyword
| followed immediately by one or two colons and one space.
| The rest of the line usually consists of a regular
| expression.

Marcel
-- 
  ╭─╮ ╭───╮    ╭────────╮         ╭──╮ ╭─────────╮   ╭────╮    ╭────────
╭─╯ ╰─╯   │    ╰─────╮  │  ╭──╮   │  ╰─╯         │   ╰──╮ ╰─╮  ╰────╮   
╯         │  ╭─╮  ╭──╯  │  │  │   │              │ ╭─╮  ╰─╮ │  ╭────╯   
          ╰──╯ ╰──╯     ╰──╯  ╰───╯              ╰─╯ ╰────╯ ╰──╯        
Technical Details
Message-ID: <AABewBIXIXoAAJgU.A1.flnews@t20.ybtra.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <slrnrbvr12.1uco.g.kreme@ProMini.lan>

Show Full Headers
Complete Article Headers
Message-ID: <AABewBIXIXoAAJgU.A1.flnews@t20.ybtra.de>
Subject: Re: [slrn] scoring
Date: Sat, 16 May 2020 18:17:27 +0200
From: Marcel Logen <333200007110-0201@ybtra.de>
References: <slrnrbvr12.1uco.g.kreme@ProMini.lan>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
X-User-Id: eJwFwYEBACAEBMCVEl7Gofz+I3TnCsENg8OczqJio/1inRFNvuUyFZOGhcfKHRotWTxj3R8ZwBE7
Cancel-Lock: sha256:2EkpHl0SpEvyNDCy9kVUislw3Pmi/hUSOUqQOqm98gE= sha1:VYPIW7Rs9AWofl9tuxA122cZn78=
Injection-Info: tota-refugium.de; logging-data="10546"; mail-complaints-to="abuse@news.tota-refugium.de"
Content-Transfer-Encoding: 8bit
Lines: 33
Content-Type: text/plain; charset=UTF-8; format=fixed
Organization: Bureau Logen Bonn Germany
Newsgroups: news.software.readers
User-Agent: flnews/0.18pre14 (for OpenBSD)
Injection-Date: Sat, 16 May 2020 16:17:27 -0000
Mime-Version: 1.0