🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #173389

Re: [dialog] word boundaries

#173389
From: Ted S.
Date: Wed, 14 Sep 2005 19:10
23 lines
1649 bytes
Somebody claiming to be wyzwyz <wyzwyz@wyz> wrote in 
news:43285033$0$12681$5a62ac22@per-qv1-newsreader-01.iinet.net.au:

> What's the difference between \W and \b ?

>From my copy of the Active Perl help (perlre):

<snip>

A word boundary (\b) is a spot between two characters that has a \w on one 
side of it and a \W on the other side of it (in either order), counting 
the imaginary characters off the beginning and end of the string as 
matching a \W.

</snip>

\b is listed under "zero-width assertions"; \W is most definitely *not* 
zero-width.

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Technical Details
Message-ID: <Xns96D192D75EBB18jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xit-03!sn-xit-08!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <43285033$0$12681$5a62ac22@per-qv1-newsreader-01.iinet.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <Xns96D192D75EBB18jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>
Subject: Re: [dialog] word boundaries
Date: Wed, 14 Sep 2005 19:10:12 -0000
From: "Ted S." <fedya@bestweb.spam>
References: <43285033$0$12681$5a62ac22@per-qv1-newsreader-01.iinet.net.au>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!news.tele.dk!small.news.tele.dk!sn-xit-03!sn-xit-08!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Your Company
User-Agent: Xnews/??.01.14 Hamster/2.0.0.1
Content-Type: text/plain; charset="iso-8859-1"
X-Complaints-To: abuse@supernews.com
Lines: 23