🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151432

Re: [slrn] Scoring Problem

#151432
From: Mike Vanecek
Date: Fri, 09 Jul 2004 15:02
48 lines
2296 bytes
On 8 Jul 2004 13:28:38 -0500, Mike Vanecek wrote:
> On 2 Jul 2004 19:53:41 GMT, Tech Zero wrote:
>> The voice of "s. keeling" drifted in on the cyber-winds, 
>> from the sea of virtual chaos...

>>> For your example above[*]:

>>>    Subject: gay

>>> should work against "gay" or "gays".  If it matches anywhere on
>>> the line, it's a hit, so you don't need the procmail-ish ".*" in
>>> there. You can limit that match with \<gay\> to match "gay" but
>>> not "gays". You can also use only \< or \> to only match the
>>> beginning or end of the word.


>> Ahhh...
>> So "\b" (word boundery) is equivelent to "\<" and "\>" in slrn?

> Is it? Would not \bcash match spacecashspace (i.e., cash delimited by leading
> and trailing spaces unless at the end or beginning of a line)?

> However, would not \<cash\> match the word cash no matter where it is (e.g.,
> cashless would have a match? What is the difference between

> Subject: cash 
> and
> Subject: \<cash\>
> ?

> other than to prevent a match on cashes?

> So, what is the slang equivalent of \b ?

I think I have this one figured out 
\< - beginning of word
\> - end of word

So \< ... \> is the same as \b

So, please forget the above question. The original poster had it correct and I
was confused, but hopefully less so now ...



-- 
  Thanks, Mike.
Technical Details
Message-ID: <m9o2s1-ghl.ln1@news.invalid.99computer>
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.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcri.rju.keeling@infidel.spots.ab.ca> <Xns951A8D589B5D3ZeroOne@raven.dragonfur.ca> <qtf0s1-fei.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <m9o2s1-ghl.ln1@news.invalid.99computer>
Subject: Re: [slrn] Scoring Problem
Date: Fri, 09 Jul 2004 15:02:16 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcri.rju.keeling@infidel.spots.ab.ca> <Xns951A8D589B5D3ZeroOne@raven.dragonfur.ca> <qtf0s1-fei.ln1@news.invalid.99computer>
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.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 48
X-Archive: encrypt
User-Agent: slrn/0.9.8.0 (Linux)