Filtering out special characters

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Filtering out special characters

Postby Taizu » Tue Dec 16, 2003 6:26 pm

I'm trying to filter out #stern, but I can't figure out how.

If I put \#stern in my filter I still get all the #stern items listed.

I can't use just \stern as the # is part of the name.

On the newsgroups, the listing starts with #stern, but if I download one of the files, #stern is not in the filename.

I really would like to exclude all #stern listings - TIA.
Taizu
Occasional Contributor
Occasional Contributor
 
Posts: 25
Joined: Thu Aug 28, 2003 11:11 am
Location: Denmark

Postby Smite » Tue Dec 16, 2003 7:08 pm

Sounds like you're adding it as a filename reject filter? Try as a Subject Reject filter instead.
Please read the FAQ before asking any questions.
If you're new to newsgroups, and the files on them, you can find a very helpful guide here.
User avatar
Smite
Katamari Damacy Addict
 
Posts: 5318
Joined: Sat May 19, 2001 1:54 am
Location: Alberta, Canada

Registered Newsbin User since: 03/27/03

Postby Taizu » Tue Dec 16, 2003 7:18 pm

Nope - it a subject reject filter.
Taizu
Occasional Contributor
Occasional Contributor
 
Posts: 25
Joined: Thu Aug 28, 2003 11:11 am
Location: Denmark

Postby itimpi » Tue Dec 16, 2003 7:28 pm

Have you remembered to tick the box that activates the subject reject filter - I have forgotten that in the past!
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

Postby Taizu » Tue Dec 16, 2003 7:45 pm

It's on my Reject Subject Filter list and Reject Subject Filter box is ticked.
Other words from the same list *are* getting filtered out.
Taizu
Occasional Contributor
Occasional Contributor
 
Posts: 25
Joined: Thu Aug 28, 2003 11:11 am
Location: Denmark

Postby Smite » Tue Dec 16, 2003 7:59 pm

try [#]stern instead. The \ escape character behaves oddly sometimes.
Please read the FAQ before asking any questions.
If you're new to newsgroups, and the files on them, you can find a very helpful guide here.
User avatar
Smite
Katamari Damacy Addict
 
Posts: 5318
Joined: Sat May 19, 2001 1:54 am
Location: Alberta, Canada

Registered Newsbin User since: 03/27/03


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests

cron