Wide open (NB4) spaces
Posted: Tue Feb 05, 2002 9:10 pm
I was trying to filter (Accept) a subject that looked something like this:
blah blah ... 6.13 VCD.r01 blah blah
(note: verified only one space between 13 & VCD)
So I set up an Accept filter of
6\.13\sVCD\.r
but it didn't work. So I then tried some variations
13\sVCD\.r
13 VCD\.r (just left a "<space>" in the middle spot)
and probably a few others. The one that finally worked is
13.*VCD\.r
This did allow a few other posts (e.g. I'm 13, Hi Mom VCD.rules!) but since I wasn't allowing automatic download I just didn't select the extra ones and only downloaded the ones I wanted.
So I'm not sure what was wrong but it seemed like NB wasn't locking on the \s as a single space. I did see a Dexter posting from 10-22-01 where he stated "The backslash does work when you are escaping a dot but it doesn't work with other characters including the asterisk and I just tested it with a square bracket. It should work consistently, we'll look into it."
Has this been fixed or am I doing something wrong? What's the correct RegEx syntax for matching a space (or non-space, \S, or etc.) in NB4b22?
blah blah ... 6.13 VCD.r01 blah blah
(note: verified only one space between 13 & VCD)
So I set up an Accept filter of
6\.13\sVCD\.r
but it didn't work. So I then tried some variations
13\sVCD\.r
13 VCD\.r (just left a "<space>" in the middle spot)
and probably a few others. The one that finally worked is
13.*VCD\.r
This did allow a few other posts (e.g. I'm 13, Hi Mom VCD.rules!) but since I wasn't allowing automatic download I just didn't select the extra ones and only downloaded the ones I wanted.
So I'm not sure what was wrong but it seemed like NB wasn't locking on the \s as a single space. I did see a Dexter posting from 10-22-01 where he stated "The backslash does work when you are escaping a dot but it doesn't work with other characters including the asterisk and I just tested it with a square bracket. It should work consistently, we'll look into it."
Has this been fixed or am I doing something wrong? What's the correct RegEx syntax for matching a space (or non-space, \S, or etc.) in NB4b22?