🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #146037

Re: slrn Score regexps & special chars.

#146037
From: Jörg Lüders
Date: Fri, 09 Apr 2004 08:48
29 lines
2221 bytes
s. keeling <keeling@spots.ab.ca>:

> Hi.  I've been backslashing/escaping special chars ([-$\&] & etc.) in
> my Score file, but I've just found it doesn't appear to be working the
> way I thought it should.

- isn't special except in a [range], and & not at all AFAIK.

> In the past, I've looked at others' Score files when they were posted
> (thanks!), but I can't remember seeing any that used (and explained)
> regexp usage.  Can anyone post a URL for an slrn regexp tutorial?

It's in the FAQ:

| 4.5.  Where can I get a full description of slrn's regular expres-
| sions?
|
|
| slrn makes use of the regexp engine built into the slang programmer's
| library.  Thus, a full description of the regexp syntax that can be
| used in slrn's scorefiles can be found in the documentation of slang.
| In version 1.4.4, this is chapter 18 of the file slang.txt (also
| available online
| <http://space.mit.edu/~davis/slang/doc/html/slang-18.html>). Please
| note that in slrn, the default is \C (case insensitive), not \c.


Jörg
Technical Details
Message-ID: <ej4ik1xju1.ln2@ID-90054.user.uni-berlin.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.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.tiscali.ch!fu-berlin.de!uni-berlin.de!pd4b9e0ef.dip.t-dialin.NET!not-for-mail
References: <slrnc7b8eu.v7o.keeling@infidel.spots.ab.ca>

Show Full Headers
Complete Article Headers
Message-ID: <ej4ik1xju1.ln2@ID-90054.user.uni-berlin.de>
Subject: Re: slrn Score regexps & special chars.
Date: Fri, 09 Apr 2004 10:48:14 +0200
From: Jörg Lüders <jlpublic-b4879@gmx.net>
References: <slrnc7b8eu.v7o.keeling@infidel.spots.ab.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.tiscali.ch!fu-berlin.de!uni-berlin.de!pd4b9e0ef.dip.t-dialin.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 29
NNTP-Posting-Host: pd4b9e0ef.dip.t-dialin.net (212.185.224.239)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1081500607 93897485 I 212.185.224.239 ([90054])
X-Orig-Path: ID-90054.user.uni-berlin.de!not-for-mail
User-Agent: slrn/0.9.8.0 (Linux)