Article View: news.software.readers
Article #242397Re: [slrn] block xposts to a particular group?
From: Whiskers
Date: Thu, 26 Aug 2010 21:16
Date: Thu, 26 Aug 2010 21:16
30 lines
2515 bytes
2515 bytes
On 2010-08-25, Ted S. <fedya@hughes.spam> wrote: > On Wed, 25 Aug 2010 19:10:31 +0100, Whiskers wrote: > >>> [*] >>> Score: -9999 >>> Newsgroups: alt.group.of.wackos >>> >>> It achieves nothing. >>> Is there a way to do this? >> >> You need to 'escape' the . with a \ - ie >> >> alt\.group\.of\.wackos > > Technically, you don't. The '.' in regexes will match *any* character, > incluing a '.', so the OP's example should work on XOVER headers. [...] Any scorefile entry auto-generated by slrn will escape a . that forms part of the string being tested for. This is what is done in the specimen file score.txt too. The . is indeed used as a wild-card when we want to test for 'anything at all' - but that isn't appropriate when testing for a specific string of characters one of which is a . so we escape the . to force slrn to test specifically for that character at that location. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrni7dmds.dju.catwheezel@ID-107770.user.individual.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<8dl2f7FdjkU1@mid.individual.net> <slrni7an4n.cti.catwheezel@ID-107770.user.individual.net> <a4zk2ed16347$.dlg@justacineast.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <slrni7dmds.dju.catwheezel@ID-107770.user.individual.net> Subject: Re: [slrn] block xposts to a particular group? Date: Thu, 26 Aug 2010 22:16:44 +0100 From: Whiskers <catwheezel@operamail.com> References: <8dl2f7FdjkU1@mid.individual.net> <slrni7an4n.cti.catwheezel@ID-107770.user.individual.net> <a4zk2ed16347$.dlg@justacineast.motzarella.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 30 Reply-To: Whiskers <catwheezel@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net bM9rqWSkF6wj2ar2wCi9JwxxnGluHass8dFKHo+R4a7wUhoZV9 X-Orig-Path: ID107770.user.individual.net!not-for-mail Cancel-Lock: sha1:WUgRRMfyXV75/rrNqz06EL4KClE= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/pre0.9.9-94 (Linux)