🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47895

Re: [slrn]regular expression problem

#47895
From: Heikki Kantola
Date: Sat, 10 Apr 1999 00:00
38 lines
2644 bytes
Fabrice kurz <ees1fk@mir.ee.surrey.ac.uk> informed
news.software.readers with the following:
>I'm new to slrn, but I find it quite usefull and easy to use. Yet I have a
>problem with the "ignore_quote" regular expression. I tried to use the same
>expression as the one I use with mutt, but it doesn't work, it doesn't seem
>to understand the OR ("|") operator. Is it the case , or what's wrong with
>that :
>
>"^ *[a-zA-Z-]*>|^[]()%:=>|}-]+"
>
>(it should quote everything that begins with some text followed by ">" or
>evry line that begins by something in ]()%:=>|}- )
>t works fine in mutt, so I don't think the regexpr itself is to blame.

It is sort of. Slang regexp syntax which Slrn uses is somewhat inferior
to the syntax used eg. Mutt, which means in practice that you indeed 
can't group expressions with '|' (and '(' & ')'), however in case of 
ignore_quote-command you can luckily provide upto 5 separate regexps.

>BTW, do you know how to increase the width of the columns in the group
>headers? (especially the width for the authors of thearticles)?

Yes, with header_display_format slrnrc command and its Slang equivalent
set_header_display_format()you configure the order and size of various 
elements of article listing to suit your wishes. Unfortunately AFAIK 
only documentation (in English, I've whipped up something in Finnish 
for my Slrn page at <URL:http://www.iki.fi/hezu/slrn.html>) for those 
is still Slrn's changes.txt-file. In case you don't have that file (it
is included in the standard Slrn source distribution), you can grab a
copy from <URL:ftp://space.mit.edu/pub/davis/slrn/changes.txt>.
 
-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Technical Details
Message-ID: <slrn7gu4af.2q8.hezu@tuuri.ling.helsinki.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn7gs78k.gdj.ees1fk@mir.ee.surrey.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7gu4af.2q8.hezu@tuuri.ling.helsinki.fi>
Subject: Re: [slrn]regular expression problem
Date: Sat, 10 Apr 1999 00:00:00 +0000
From: hezu@iki.fi (Heikki Kantola)
References: <slrn7gs78k.gdj.ees1fk@mir.ee.surrey.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 464737978
Content-Transfer-Encoding: 8bit
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Mime-Version: 1.0
User-Agent: slrn/0.9.5.4 (UNIX)
Newsgroups: news.software.readers