🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #152968

[Xnews] regex help, please

#152968
From: me
Date: Tue, 03 Aug 2004 21:15
19 lines
1377 bytes
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.

TIA

J
-- 
Replies to: Njk04s_130_p(at)Ojuno(dot)Tcom
Technical Details
Message-ID: <Xns953AAF8104F14metadyataminvalid@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!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns953AAF8104F14metadyataminvalid@netnews.worldnet.att.net>
Subject: [Xnews] regex help, please
Date: Tue, 03 Aug 2004 21:15:23 GMT
From: me@tadyatam.invalid
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!wn12feed!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: 19
NNTP-Posting-Host: 12.76.164.81
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1091567723 12.76.164.81 (Tue,
NNTP-Posting-Date: Tue, 03 Aug 2004 21:15:23 GMT