🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #125425

Re: Improving S-Lang regular expressions to get slrn to match quoted lines

#125425
From: J.B. Nicholson-Owens
Date: Mon, 26 May 2003 20:30
27 lines
2294 bytes
surtin wrote:
> The regular expressions used for my quoting right now are the default ones
> slrn already uses for ignore_quotes [...]

Yes, and you should post the entire ignore_quotes line so people can help
you by seeing what's going on in context.

> [...] so that's... ><:=| correct?

Not completely; it looks like you took some characters out of the
ignore_quotes line you thought were relevant and posted them.  "><:=|" is a
regular expression that will not match any quote line currently in use.  I'm
guessing you didn't actually use that as-is in your ignore_quotes line.
Typically ignore_quotes regular expressions involve some form of alternation
(like a character class "[abc]" meaning a, b, or c).

> So maybe if I set the ignore_quote with those witout :, it'd work somewhat
> like I want; or is there some better way that you or someone else knows and
> would like to share... ?

Experimentation with regular expressions is useful, but not if you don't
know how regular expressions work.  You should look up some help texts on
the subject and read them then try altering the regular expressions in the
ignore_quotes line.

Happy hacking.
Technical Details
Message-ID: <slrnbd50fc.q3v.jbn@forestfield.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrnbd13ki.mhd.surtin@dsl093-187-082.chi2.speakeasy.net> <slrnbd303s.tld.surtin@dsl093-187-082.chi2.speakeasy.net> <slrnbd3bil.or0.jbn@forestfield.org> <slrnbd3hbm.ivk.surtin@dsl093-187-082.chi2.speakeasy.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbd50fc.q3v.jbn@forestfield.org>
Subject: Re: Improving S-Lang regular expressions to get slrn to match quoted lines
Date: Mon, 26 May 2003 20:30:33 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <slrnbd13ki.mhd.surtin@dsl093-187-082.chi2.speakeasy.net> <slrnbd303s.tld.surtin@dsl093-187-082.chi2.speakeasy.net> <slrnbd3bil.or0.jbn@forestfield.org> <slrnbd3hbm.ivk.surtin@dsl093-187-082.chi2.speakeasy.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 26
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 1053981033 3787398 208.216.67.173 (16 [35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.7.4pl2 (GNU/Linux)