Page 1 of 1

Help with special filter

PostPosted: Tue Nov 30, 2004 10:49 pm
by Buzzy
I'm trying to filter OUT any subject and/or filename with any 1, 2 or 3 numbers enclosed in paranthesis. IE:

this (1).txt
that (123).htm
another(01).jpg

I can't figure out what it's supposed to look like. :?: I've tried both file and subject filters of

"("(0-9){2}")"\.*
"("(0-9)")"\.*
"("(0-9)(0-9)")"\.*

but the files still get thru. :evil:

Also, is there a limit to the number of filter "lines" you can have (ie: MOVIES has 100+ lines...what's the max limit?)

Heyalp!!!

PostPosted: Tue Nov 30, 2004 11:40 pm
by dexter
You have to escape the parenthesis with a backslash since they are used in regular expressions.

\([0-9]\) should find any single number inside parenthesis for example.

I wouldn't use file filters unless you have to. It leads to performance problems if there are lots of matches.

There isn't a set limit to the number of lines, it's more the total size of the filters. I think 100 lines is excessive and might cause problems.

PostPosted: Wed Dec 01, 2004 1:24 pm
by Quade
Maybe try "\([0-9]+\)"

PostPosted: Thu Dec 02, 2004 3:11 am
by Smite
does \(\d{1,3}\) work?

I can't recall if the new RegEx parser does that properly...