🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265049

Re: 40tude filter

#265049
From: VanguardLH
Date: Sat, 10 Jul 2021 02:36
28 lines
2213 bytes
Jim S <jim@jimXscott.co.uk> wrote:

> I wish to create a filter which will markread (!markread) any article
> which conatains a specific word. In one of my groups someone posts a
> weather report and others reply withn their own. The inital post
> always contains the same three letters e.g. ABC followed by the date.
> I want to mark as read solely on ABC not the sender.

!markread Subject {^ABC}
for any Subject header that starts with ABC starting in column 1.

!markread Subject {^ABC\b}
same as above, but expects a word boundary after the "ABC" string.

To include the date string you say is included means I'd have to see the
format for that substring.  However, how many other posts have you seen
that start with "ABC"?  Maybe you would just showing an example string,
and "ABC" is not what the Subject header begins with.

You also say "article" instead of header.  Are you wanting to search
within a header, or within the body of the message?

Also, do you want replies to the markread article also marked as read,
or leave them marked unread (when new and not yet selected)?  Dialog has
an option "watch/ignore works on subthread" to apply the setting not
just to the target article, but also on all replies to that article
(parent and children get similarly flagged); however, that only works
when you flag an article as ignored (!ignore) or watched (!watch).
Technical Details
Message-ID: <4em5gs3jr2rt.dlg@v.nguard.lh>
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: <dgytifibzqr8$.cu6hnof0fl2w.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <4em5gs3jr2rt.dlg@v.nguard.lh>
Subject: Re: 40tude filter
Date: Fri, 9 Jul 2021 21:36:59 -0500
From: VanguardLH <V@nguard.LH>
References: <dgytifibzqr8$.cu6hnof0fl2w.dlg@40tude.net>
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
Reply-To: invalid@invalid.invalid
Content-Type: text/plain; charset="us-ascii"
User-Agent: 40tude_Dialog/2.0.15.41
Content-Transfer-Encoding: 7bit
Keywords: VanguardLH VLH811
Newsgroups: news.software.readers
Cancel-Lock: sha1:Pe//sma16ZYaxlNWBqL5FVGeNcU=
Lines: 28
Mime-Version: 1.0
Organization: Usenet Elder
X-Trace: individual.net 6ecvr6EbNXUP4Ggn3DMVFQU7oaHRwNY9O0BYCDO8LNgmMn0p2z