Filter question

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Filter question

Postby Erwin Bouwman » Tue Apr 20, 2004 4:58 pm

I want to make a filter that is accepting the post which contains a part of the following sentence (it is the subject) :

Urfman posts [081/137] - nietmeerinkansas (81).rar (001/134)

What is the best way to filter (accept) f.i. "nietmeerinkansas" in the above line. I have no idea.
Do I have to make an subject filter or a filename filter or both.
Erwin Bouwman
n00b
n00b
 
Posts: 5
Joined: Sat Apr 17, 2004 9:11 am

Registered Newsbin User since: 04/16/04

Re: Filter question

Postby itimpi » Tue Apr 20, 2004 5:16 pm

Erwin Bouwman wrote:Do I have to make an subject filter or a filename filter or both.


Subject filter will work on what is in the Subject line and therefore controls what is displayed in the Post List, and thus what yopu select to download.

File Filter applies at download time, and uses the actual filename that is found in the post (this can be different to what the subject says). It therefore has to start downloading the post before it can apply the filename filter.

Which one you use is up to you - depends on where you want the filtering to take place.
The Newsbin Online documentation
The Usenettools for tutorials, useful information and links
User avatar
itimpi
Elite NewsBin User
Elite NewsBin User
 
Posts: 12604
Joined: Sat Mar 16, 2002 7:11 am
Location: UK

Registered Newsbin User since: 03/28/03


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests