Thread View: news.software.nn
2 messages
2 total messages
Started by J. Porter Clark
Sun, 05 Mar 2006 20:26
Backslash doesn't work in regexes in nn-6.7.X
Author: J. Porter Clark
Date: Sun, 05 Mar 2006 20:26
Date: Sun, 05 Mar 2006 20:26
19 lines
1390 bytes
1390 bytes
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. 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. -- J. Porter Clark <jpc@suespammers.org>
Re: Backslash doesn't work in regexes in nn-6.7.X
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads