Page 1 of 1

Help with (01234).WMV

PostPosted: Thu Apr 01, 2010 8:57 pm
by hideaway
I would like to exclude files that:
end in
a four-digit number inside parens
followed by a period
followed by WMV

I've tried the following in my global filter, but it doesn't work:

\([0-9][0-9][0-9][0-9]\)\.WMV

Any suggestions?

Joe

PostPosted: Thu Apr 01, 2010 9:54 pm
by dexter
That looks right to me. I tested it and it works here. Setting this as a global subject filter and having Enable Filters turned off, I see a bunch of posts with an "R" in the box to the left of the subject and a status of "Subject Filter". The subjects that match the filter are shown as Idle/New.

What version are you using? Where are you expecting the filter to be applied?

PostPosted: Thu Apr 01, 2010 10:10 pm
by Quade
Yeah, it's GOT to be in the subject filter.

PostPosted: Fri Apr 02, 2010 2:10 am
by hideaway
dexter wrote:That looks right to me. I tested it and it works here. Setting this as a global subject filter and having Enable Filters turned off, I see a bunch of posts with an "R" in the box to the left of the subject and a status of "Subject Filter". The subjects that match the filter are shown as Idle/New.

What version are you using? Where are you expecting the filter to be applied?


I guess I don't understand why it needs to go in the Subject instead of the Filename filter. Can you explain? I currently have it in a custom filter, which is applied to all my groups; shouldn't it work there?

Where is the Enable Filters switch?

Maybe you can point me to a URL that explains how filters work--the model I have in mind obviously isn't right.

I'm using 5.55B9 build 9714.

PostPosted: Fri Apr 02, 2010 10:12 am
by dexter
Filename filter is not applied until AFTER the post is downloaded. Before the post is downloaded, all Newsbin knows about is the subject, it doesn't know the true filename until the post is downloaded. Usually people post the filename in the subject, that's why we say to use the Subject filter. Since spammers like to use a different filename than what is in the subject, like maybe a .exe file to get you to download something unknowingly, we provide a separate filename filter to allow you to catch that possibility.

Filters are documented in this section on Newsbin Searching and Filtering

PostPosted: Fri Apr 02, 2010 1:32 pm
by hideaway
dexter wrote:Filename filter is not applied until AFTER the post is downloaded. Before the post is downloaded, all Newsbin knows about is the subject, it doesn't know the true filename until the post is downloaded. Usually people post the filename in the subject, that's why we say to use the Subject filter. Since spammers like to use a different filename than what is in the subject, like maybe a .exe file to get you to download something unknowingly, we provide a separate filename filter to allow you to catch that possibility.

Filters are documented in this section on Newsbin Searching and Filtering


(What I don't know about NTTP and News could fill a book.)

So, NewsBin doesn't know the real filename until it queries for the first chunck of file data data? Wouldn't that argue for always making the first chunk-query tiny?

Based upon what you've said, I would expect my regex to work in the Filename filter--albeit at the expense of having to download a potentially unwanted multi-megabyte file.

Where is the Enable Filters switch you mentioned earlier?

Thanks,

Joe

PostPosted: Fri Apr 02, 2010 1:52 pm
by richy99
its in the window where you are seeing the posts, there is a tick box