🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262156

Re: [Dialog] How to delete selected groups from the "All" tab?

#262156
From: picoRNA
Date: Sat, 17 Jun 2017 17:55
60 lines
3680 bytes
On Sat, 17 Jun 2017 14:57:54 +0200, Bernd Rose <b.rose.tmpbox@arcor.de>
wrote:

> You're welcome.

I thank you very much because your regular expression is the answer to the
question!
 ^(alt\.|comp\.).*\.print.*\(albasani\)$

> "Top" for one person isn't "top" for another. Usually, one also (or maybe
> only) wishes to include the local top hierarchy (like de. for me). Since 
> everyone's need can be fulfilled easily by filtering, there's no need to 
> "guess" about sth. like "most common" requirements.

I understand your explanation that it's too complicated for Dialog, and,
the point is moot anyway, since Dialog isn't being updated anyway.

But there _is_ a concept of the "Big 7" hierarchies:
https://en.wikipedia.org/wiki/Usenet_newsgroup#Hierarchies 

comp.* ¡X Discussion of computer-related topics
news.* ¡X Discussion of Usenet itself
sci.* ¡X Discussion of scientific subjects
rec.* ¡X Discussion of recreational activities (e.g. games and hobbies)
soc.* ¡X Socialising and discussion of social issues.
talk.* ¡X Discussion of contentious issues such as religion and politics.
misc.* ¡X Miscellaneous

All I'm hypothetically suggesting is a "big7" button in Dialog would have
solved the problem, which, I'm sure, scripting can also do (but that's way
out of my capabilities).

>> (alt\.|comp\.) = then the letters "alt." or "comp."
> Search (alternatingly) for the 2 /strings/ (= not /letters/).
> Letters would have been: ([alt\.]|[comp\.])

Very interesting interpretational correction!
Thank you for that regex insight!

>> \.print = followed by the characters ".print"
>> \(Albasani\) = followed by the characters "(Albasani)"
> Again: String (= not characters).

Thanks.

>> .* = followed by any character & any number of them
>> .* = and then any character and any number of them
> Including number of *zero* occurrences, i.e. "no character".

How does this correction look, so others can use it as a reference?

^(alt\.|comp\.).*\.print.*\(Albasani\)$

^ = search for the beginning of the line;
(alt\.|comp\.) = then either of the strings "alt." or "comp.";
..* = followed by any or no character & zero to any number of them;
\.print = followed by the string ".print";
..* = followed by any or no character & zero to any number of them;
\(Albasani\) = followed by the string "(Albasani)";
$ = and then the end of the line immediately thereafter.
Technical Details
Message-ID: <oi3qe9$jfu$1@adenine.netfront.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <P_udnVzrDYnTutnEnZ2dnUU7-KfNnZ2d@giganews.com> <oi1arl$13h8$1@adenine.netfront.net> <1spm2sr1u91fk$.dlg@b.rose.tmpbox.news.arcor.de> <oi2qvr$85f$1@adenine.netfront.net> <13r2bg6t64fgh$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <oi3qe9$jfu$1@adenine.netfront.net>
Subject: Re: [Dialog] How to delete selected groups from the "All" tab?
Date: Sat, 17 Jun 2017 19:55:17 +0200
From: picoRNA <picoRNAspam@comcast.net>
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <P_udnVzrDYnTutnEnZ2dnUU7-KfNnZ2d@giganews.com> <oi1arl$13h8$1@adenine.netfront.net> <1spm2sr1u91fk$.dlg@b.rose.tmpbox.news.arcor.de> <oi2qvr$85f$1@adenine.netfront.net> <13r2bg6t64fgh$.dlg@b.rose.tmpbox.news.arcor.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.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Netfront http://www.netfront.net/
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 17 Jun 2017 17:55:21 +0000 (UTC)
Injection-Info: adenine.netfront.net; posting-host="80.194.135.177";
 logging-data="19966"; mail-complaints-to="news@netfront.net"
User-Agent: 40tude_Dialog/2.0.15.41
X-Received-Body-CRC: 2796539304
X-Received-Bytes: 3618