๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #152979

Re: [Xnews] regex help, please

#152979
From: Guy
Date: Wed, 04 Aug 2004 02:55
30 lines
2200 bytes
ยปQยซ wrote:

> 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
> 

Matches
"whats the word?"

-- 
Regards,
Guy

Xnews "XP" Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Technical Details
Message-ID: <953ADEF633D1A2E284CEEC009E394A9D7@127.0.0.1>
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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <Xns953AAF8104F14metadyataminvalid@netnews.worldnet.att.net> <MrQ953AAC2F684FDitsmeitsQ@QsFQDN.dyndns.org>

Show Full Headers
Complete Article Headers
Message-ID: <953ADEF633D1A2E284CEEC009E394A9D7@127.0.0.1>
Subject: Re: [Xnews] regex help, please
Date: Tue, 03 Aug 2004 21:55:04 -0500
From: Guy <Use-Reply-To-Address-Header@[127.1]>
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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 30
Reply-To: GuysAlias <AT> myrealbox <DOT> com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de oHb08RpladdkCw3uYBg14wSqrcMxjcDrFsLpAOfXx92poCGAU=
User-Agent: Xnews/06.08.25
X-No-Archive: yes
Archive: No
X-0: "Whoever would overthrow the liberty of a nation must begin by subduing
 the freeness of speech." -- Benjamin Franklin
X-Face: ,O=kHpT4ofN[ZQ?pgJ6BQtX(cJvPRNtp'pID9gnUbjs4F3yd0#\GOd'S;
 U@<[Y6X*V`vh.)v%U'IaXUBq/F9,m,P; HY{n-Q[V0"+>u5W`Zf&[c;
 34vOB1T~&wE<'yA(Eg7V,W,Sk_gd0JPg1E$,J&X}SN-51Hwg; )hM/Ttq$Um2Kq$u