🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #33491

Re: slrn : regular expressions

#33491
From: John E. Davis
Date: Wed, 14 May 1997 00:00
23 lines
1143 bytes
On 6 May 1997 16:36:29 GMT, Guido Notari <guido.notari@jrc.it>
wrote:
>This is the regular expression I use in mutt (mail reader), to recognize
>quoted text:
>
>"^[|:}] |^ *>|^[a-zA-Z]*> "
>
>It does not work in Slrn, probably due to the "|" characters. "\|" doesn't
>seem to work, either.  Any hints?

In your .slrnrc file, try:

   ignore_quotes "^[|:}]"  "^ *>"  "^[a-zA-Z]*> "
   
The 'ignore_quotes' line can contain up to 5 regular expressions.  I
use:   

   ignore_quotes "^\t? \\{0,5\\}[]{}><:=|+\xBB!]" "^[\t ]*[A-Za-z]+>"
   
--John   

Technical Details
Message-ID: <slrn5nh6hh.3ic.davis@mygir.davis.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!not-for-mail
References: <slrn5munl8.63.guido.notari@pcmmlab3.jrc.it>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5nh6hh.3ic.davis@mygir.davis.net>
Subject: Re: slrn : regular expressions
Date: Wed, 14 May 1997 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn5munl8.63.guido.notari@pcmmlab3.jrc.it>
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: 241457107
Organization: Center for Space Research
Newsgroups: news.software.readers