🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #235453

ARG!!!! \b again...

#235453
From: JimH
Date: Sun, 13 Sep 2009 08:25
23 lines
1787 bytes
Ok, now that the previous is working I discover that only half the problem is 
solved. I would also like to match the word "and" along with the "&" 
character in the lines below:

1) this_&_that
2) me_and_you
3) here,_there_&_everywhere
4) hands_and_feet

If the use of underscore as a space character was uncommon, I wouldn't 
concern myself with the fact that the regexp \band\b|& misses lines 2 and 4 
since "_" doesn't trigger a word boundary. Unfortunately some of the more 
desirable posts have come from those who do this.

The way I see it, the space and underscore are the only two characters that 
are used as whitespaces that need to be matched (although I'm not opposed to 
matching other whitespaces). Is there a solution any more "elegant" than:

[ _](and|&)[ _]

(Luckily, I don't recall ever seeing a desired Subject line beginning or 
ending with "and" or "&")
Technical Details
Message-ID: <Xns9C852D00C2A53hahadotdotdot@74.209.136.97>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news6

Show Full Headers
Complete Article Headers
Message-ID: <Xns9C852D00C2A53hahadotdotdot@74.209.136.97>
Subject: ARG!!!! \b again...
Date: Sun, 13 Sep 2009 08:25:47 +0000
From: JimH <nvm@nunya.biz>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news6
Newsgroups: news.software.readers
Organization: NewsGuy - Unlimited Usenet $19.95
Lines: 23
NNTP-Posting-Host: p0401c8f94821c5c66abd7989783935fa897e6b91e513cd60.newsdawg.com
User-Agent: Xnews/5.04.25