🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #263961

Any extant syntax to concisely describe pattern-matching for articles?

#263961
From: J.B. Nicholson
Date: Sun, 05 Apr 2020 07:10
29 lines
1926 bytes
I need a way to concisely describe criteria to match a set of articles
in a newsreader. The criteria is given by the user ad-hoc at runtime
and would handle statements like:

* Subject header contains the substring "foo".
* Posted date is after 2010-10-05.
* Posted date is before 2015-05-11.
* From header contains the substring "bar".

Ideally this would be a textual syntax, something typed into a
freeform text entry space (like a command or a GUI text input
area). I'm hoping that someone has considered this and come up with
something that is easy to use, understandable, and functional enough
that one would want to use it. I imagine something like:

subject/foo
date>2010-10-05
date<2015-05-11
from/bar

Does any newsreader offer any syntax to let a user identify or select
a set of articles which match the given criteria?

If you know of such a thing, would you please point me in the
direction of the relevant published standard, documentation, or specs
for this syntax or functionality? I'd like to learn more about that
and avoid reinventing this wheel.

Thanks.
Technical Details
Message-ID: <slrnr8j12r.2k8.jbn@forestfield.org>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrnr8j12r.2k8.jbn@forestfield.org>
Subject: Any extant syntax to concisely describe pattern-matching for articles?
Date: Sun, 05 Apr 2020 07:10:19 +0000
From: "J.B. Nicholson" <jbn@forestfield.org>
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
Injection-Date: Sun, 5 Apr 2020 07:10:19 -0000 (UTC)
User-Agent: slrn/1.0.3 (Linux)
X-User-Id: eJwFwQkRwEAIBDBLHLDLVA6vfwlNYHzscIKOw/WydCYFDNPcqzX2s9XKER46KhnZ3zZC/Ac66hIS
Lines: 28
Cancel-Lock: sha1:IAxoJlU/gv4L5Gp6QJEq8O9zjfo=
Newsgroups: news.software.readers
Organization: solani.org
Injection-Info: solani.org; logging-data="14011"; mail-complaints-to="abuse@news.solani.org"