Article View: news.software.nn
Article #10737Re: Backslash doesn't work in regexes in nn-6.7.X
From: Michael T Pins
Date: Mon, 06 Mar 2006 03:59
Date: Mon, 06 Mar 2006 03:59
36 lines
2162 bytes
2162 bytes
jpc@suespammers.org (J. Porter Clark) writes: >Backslash (\) doesn't work in the nn's kill file. I suspect it >doesn't do anything useful in any regexp context, but I haven't >had a chance to test this theory. Interesting. An escaped backslash (aka \\) works correctly with the "=" command, but not with K/S (or from the killfile). This would seem to indicate that the problem isn't with regexp but instead is in the kill/select code. >For example, this works: >/^news.software.nn:+s/:clark >but this doesn't: >/^news\.software\.nn:+s/:clark >Doubling up on the backslashes doesn't fix it. >I don't know exactly when it broke, but it was working in 6.6.4 >and broken as of 6.7.2. Probably at nn-6.7.0. However, I'm not seeing any changes in either the regexp code or the kill/select code that would break this. I'll need to dig into it more when I have some time. BTW, nn-6.7.3 has been out since November. Although obviously it doesn't fix this issue. -- Michael T Pins mtpins@nndev.org keeper of the nn sources http://www.nndev.org
Technical Details
Message-ID:
<440bc1b0$1@aspen>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!bloom-beacon.mit.edu!news.colorado.edu!aspen!mtpinsReferences:
<4QHOf.143$Ib1.103@fe06.lga>Show Full Headers
Complete Article Headers
Message-ID: <440bc1b0$1@aspen> Subject: Re: Backslash doesn't work in regexes in nn-6.7.X Date: Mon, 06 Mar 2006 03:59:28 +0000 From: Michael T Pins <mtpins@nndev.org> References: <4QHOf.143$Ib1.103@fe06.lga> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!bloom-beacon.mit.edu!news.colorado.edu!aspen!mtpins Newsgroups: news.software.nn Organization: University of Colorado, Boulder Lines: 36 NNTP-Posting-Host: aspen.earthnet.net X-Trace: peabody.colorado.edu 1141621170 29793 66.151.173.2 (6 Mar 2006 X-Complaints-To: abuse@colorado.edu NNTP-Posting-Date: 6 Mar 2006 04:59:30 GMT User-Agent: nn/6.7.3 X-Original-NNTP-Posting-Host: 65-103-96-65.dsl.earthnet.net X-Original-Trace: 5 Mar 2006 21:59:28 -0600, 65-103-96-65.dsl.earthnet.net