🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4380

Re: finding "India" and not "Indiana"

#4380
From: Nancy McGough
Date: Thu, 01 Jul 1993 19:30
20 lines
1424 bytes
I wrote:
>Here's the line I use to autoselect any articles that
>contain nn in the subject:
>
>:+s/:^nn | nn | nn$
>
>This means select any article that starts with "nn ",
>contains " nn ", or ends with " nn".

If you want to include things like "nov+nn", "nn;"
etc., i.e., nn surrounded by any non-alpha character
then the following is better:

:+s/:^nn[^a-zA-Z]|[^a-zA-Z]nn[^a-zA-Z]|[^a-zA-Z]nn$


[^a-zA-Z] means anything other than an alphabetic
character.  

  -Nancy
Technical Details
Message-ID: <20ve0o$9qa@news.u.washington.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein.u.washington.edu!nancym
References: <clp.741065430@tiamat.umd.umich.edu> <20soai$jpp@news.u.washington.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20ve0o$9qa@news.u.washington.edu>
Subject: Re: finding "India" and not "Indiana"
Date: Thu, 01 Jul 1993 19:30:32 +0000
From: nancym@stein.u.washington.edu (Nancy McGough)
References: <clp.741065430@tiamat.umd.umich.edu> <20soai$jpp@news.u.washington.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!ux1.cso.uiuc.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein.u.washington.edu!nancym
Newsgroups: news.software.nn
Keywords: search subject
Article-I.D.: news.20ve0o$9qa
Reply-To: nancym@u.washington.edu (Nancy McGough)
Organization: University of Washington
Lines: 20
NNTP-Posting-Host: stein.u.washington.edu
X-Newsreader: NN [version 6.4.16]