🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151501

Re: [slrn] Scoring Problem

#151501
From: Tech Zero
Date: Sat, 10 Jul 2004 08:14
43 lines
2532 bytes
The voice of "Mike Vanecek" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> I should have worded it difrently...
> 
>>   \bflower  ->  \<flower
>>   flower\b  ->  flower\>
> 
>> Does that make sence?
> 
> Uhm, I thought 
> 
> \<flower matched flower at the beginning of the word
> e.g., flower flowering but not sflower
> 
> flower\> matched flower at the end of the word
> e.g., sflower xxxflower but not flowers
> 
> I thought \b was the same as \<...\>
> e.g., match only flower not match flowers or aflower
>  
> My confusion I guess about \b ?


"\b" is a "word boundery", so it matches like "\<" or "\>" depending 
on where it's placed in relation to the word...

>From http://www.s-lang.org/doc/html/slang-18.html...

   \<         Match the beginning of a word.
   \>         Match the end of a word.

So...
  XNEWS PCRE     slrn s-lang

  \bflower       \<flower    - Matches "flower" & "flowers", but not "deflower"
  flower\b       flower\>    - matches "flower" & "deflower", but not "flowers"
  \bflower\b     \<flower\>  - Only matches "flower"

Has that cleared it up?

-- 
The Tech Zero, Maxx "What's That Score" Pollare...
Technical Details
Message-ID: <Xns952216D9D3237ZeroOne@raven.dragonfur.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.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!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> <m9o2s1-ghl.ln1@news.invalid.99computer> <Xns9521818637ECCZeroOne@raven.dragonfur.ca> <7nq3s1-nlm.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <Xns952216D9D3237ZeroOne@raven.dragonfur.ca>
Subject: Re: [slrn] Scoring Problem
Date: Sat, 10 Jul 2004 08:14:47 +0000
From: Tech Zero <july-spamail@dragonfur.ca>
References: <uvigr1-elj.ln1@news.invalid.99computer> <slrncebcri.rju.keeling@infidel.spots.ab.ca> <Xns951A8D589B5D3ZeroOne@raven.dragonfur.ca> <qtf0s1-fei.ln1@news.invalid.99computer> <m9o2s1-ghl.ln1@news.invalid.99computer> <Xns9521818637ECCZeroOne@raven.dragonfur.ca> <7nq3s1-nlm.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.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 43
X-Trace: news.uni-berlin.de rFg0pCdcSKvywesHbdNerApuSl3Xsv7XAQu6OLazpUBXzi5oEp
User-Agent: Xnews/06.01.10
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
 34_qR9](uXc,NLS?JRGg/.&1=