🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #152977

Re: [Xnews] regex help, please

#152977
From: me
Date: Wed, 04 Aug 2004 02:41
34 lines
1957 bytes
»Q« <boxcars@gmx.net> wrote in
»news:MrQ953AAC2F684FDitsmeitsQ@QsFQDN.dyndns.org: 

> me@tadyatam.invalid wrote in
> <news:Xns953AAF8104F14metadyataminvalid@netnews.worldnet.att
> .net>: 
> 
>> Me stuck. I'm trying to match a specific word with
>> optional "s" at the end. Using the word "word" as an
>> example, I would like to match
>>    word
>>    words
>> but not
>>    sword
>>    wordsmith.
>>
>> BTW, a word here is something that is at the start of a
>> line or is preceeded by a space, and is followed by either
>> a space or a newline. Punctuation doesn't matter; it's OK
>> to miss ",words" "word." "(word)" etc.
> 
> You should read through pcre.html, in your Xnews directory.
> 
> \bwords?\b
> 

Much obliged.

Actually, I did read it. < red face > Now I have figure out when 
I am (not) "inside  a  character  class" < /red face >

J
-- 
Replies to: Njk04s_130_p(at)Ojuno(dot)Tcom
Technical Details
Message-ID: <Xns953AE6CF1578metadyataminvalid@netnews.worldnet.att.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail
References: <Xns953AAF8104F14metadyataminvalid@netnews.worldnet.att.net> <MrQ953AAC2F684FDitsmeitsQ@QsFQDN.dyndns.org>

Show Full Headers
Complete Article Headers
Message-ID: <Xns953AE6CF1578metadyataminvalid@netnews.worldnet.att.net>
Subject: Re: [Xnews] regex help, please
Date: Wed, 04 Aug 2004 02:41:32 GMT
From: me@tadyatam.invalid
References: <Xns953AAF8104F14metadyataminvalid@netnews.worldnet.att.net> <MrQ953AAC2F684FDitsmeitsQ@QsFQDN.dyndns.org>
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.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/06.08.25
X-No-Archive: yes
Lines: 34
NNTP-Posting-Host: 12.76.166.129
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1091587292 12.76.166.129 (Wed,
NNTP-Posting-Date: Wed, 04 Aug 2004 02:41:32 GMT