🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #108847

Re: [slrn] Score file question

#108847
From: Pete Young
Date: Thu, 05 Sep 2002 13:53
41 lines
2335 bytes
Jens Wahnes <jewa@gmx.net> writes:

>   Xref: \<rec\.something

>should do what you want.  "\<" means 'at the beginning of a word', so
>the regular expression wouldn't match against uk.rec.something. 

Ah, that makes sense. I'll try this out and see what happens. 

It's also very interesting that you escaped the '.' character.

I guess it will still match even if it is not, and
would also match any other character?

so it would match, say, rec.something and also recXsomething

> Given
>the way the Xref field is structured,

>   Xref: [ ]rec.something

>should work as well.  

Ah I guess [] has some meaning to slang also? Time I went and read
it, I think!

> You could consider adding "\>" at the end of
>these regexps since "rec.something" might also be the name of a
>sub-hierarchy in rec.* and you may or may not want to kill crossposts
>not only to a corresponding group, but also to a sub-hierarchy.

That's a good idea: as it turns out that might be quite useful too.
Many thanks for your help Jens.

Pete

-- 
  ____________________________________________________________________
  Pete Young            pete@antipope.org        
      "Just another crouton, floating on the bouillabaisse of life"
Technical Details
Message-ID: <al7nkb$ql8$1@pheidippides.axion.bt.co.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!bt !pete
References: <al586q$7id$1@pheidippides.axion.bt.co.uk> <slrnancf5i.2b1.nsr@message-id.wahnes-world.de>

Show Full Headers
Complete Article Headers
Message-ID: <al7nkb$ql8$1@pheidippides.axion.bt.co.uk>
Subject: Re: [slrn] Score file question
Date: Thu, 05 Sep 2002 13:53:15 +0000
From: pete@antipope.org (Pete Young)
References: <al586q$7id$1@pheidippides.axion.bt.co.uk> <slrnancf5i.2b1.nsr@message-id.wahnes-world.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!bt !pete
Newsgroups: news.software.readers
Organization: No fixed abode
Lines: 40
Reply-To: pete@antipope.org
NNTP-Posting-Host: gonad.alien.bt.co.uk
X-Trace: pheidippides.axion.bt.co.uk 1031233995 27304 132.146.196.100 (5 Sep 2002 13:53:15 GMT)
X-Complaints-To: postmaster@axion.bt.co.uk
NNTP-Posting-Date: 5 Sep 2002 13:53:15 GMT
User-Agent: slrn/0.9.6.2 (SunOS)