Article View: news.software.readers
Article #264122[slrn] scoring
From: Lewis
Date: Sat, 16 May 2020 13:35
Date: Sat, 16 May 2020 13:35
36 lines
1665 bytes
1665 bytes
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 I do not want to match any of the following: "From: Joe ATTENTION " "From: ATTENTION-DEFICIT " "From: Mr ATTENTION " I have tried From:[ ]ATTENTION[ ] From:\ ATTENTION\ From: ATTENTION[ ] From: \<ATTENTION\> none match. (placed as first entries in the score file) According to <http://www.jedsoft.org/slang/doc/html/slang-22.html> [ ... ] matches any single character between brackets. \< Match the beginning of a word. \> Match the end of a word. Also, I don't see how to specify a position in the From header for the "Mr ATTENTION" example above. -- "Are you pondering what I'm pondering?" "I think so, Brain, but wouldn't his movies be more suitable for children if he was named Jean-Claude van Darn?"
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnrbvr12.1uco.g.kreme@ProMini.lan> Subject: [slrn] scoring Date: Sat, 16 May 2020 13:35:30 +0000 From: Lewis <g.kreme@gmail.com.dontsendmecopies> 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 Organization: Miskatonic U X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z Lines: 36 Newsgroups: news.software.readers X-Clacks-Overhead: GNU Terry Pratchett Cancel-Lock: sha1:oh5Ix2Eetlr3awAJSTYDHRrFOwY= User-Agent: slrn/1.0.3 (Darwin) Injection-Date: Sat, 16 May 2020 13:35:30 -0000 (UTC)