Page 1 of 1

Regex in "lock out poster keyword" ?

PostPosted: Thu Mar 31, 2005 5:32 am
by dstaples
Hi

Regex's DO seem to work in that field however there seems to be no way to manage those filters like the subject & filename filters. Am I missing something?

Anyway,
In some of the groups I download there is a poster that posts stuff I dont want <ya, suprise> The subjects & filenames are all over the place so filtering them is out, However, he/they/it allways have a poster name like
"Jalen" <[email protected]>
or
"Jalen" <[email protected]>

So the question is, How do I wite a filter that rejects anything over say 15 chars without a space or a . between the < > 's for the lockout poster keyword ?

PostPosted: Fri Apr 01, 2005 12:13 am
by Smite
does \w{15} work?

PostPosted: Fri Apr 01, 2005 3:51 am
by dstaples
Dosent seem to...

I tried \w>[15} too....

PostPosted: Fri Apr 01, 2005 11:33 pm
by Smite
k, probably something to do with upper/lower case. The regex in v5 does that too (displays them like you typed them, but treats them all as uppercase).

The other options that might work are:
[a-zA-Z0-9]{15}
or
[a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9][a-zA-Z0-9]
which should definately work.

PostPosted: Sun Apr 03, 2005 5:42 am
by dstaples
They arent always exactly 15 chars but are always at least 15 or more. Can I use some sort of > operator?

PostPosted: Sun Apr 03, 2005 3:45 pm
by Smite
Unless you use $ or ^ in the expression, it doesn't matter what comes before or after the bit that matches the regex. "A" will match "aaaa" as well as just "a".

PostPosted: Sat Apr 09, 2005 2:21 am
by dstaples
I guess regex dosent work in that field :cry:

Ive used all of that and still cant get rid of the problem poster.

Feature request?? Perhaps adding poster to the filter options window? Please?

PostPosted: Sat Apr 09, 2005 2:38 am
by Smite
I'm pretty sure 4.33B6 does support regex in the poster lockout.

PostPosted: Tue Apr 12, 2005 1:28 am
by dstaples
I am SO frustrated!!! I cant get rid of this KP posting a**wipe.

I've tried all of your suggestions, which I do appreacate by the way. but I still cant filter him out...
Heres a smattering of the poster names he's using
There are usually a couple hundred posts scattered across a dozen or more names... the long spaceless alphnumeric before the @ is the only constant...


"Jalen" <[email protected]>
Andre <[email protected]>
Segre <[email protected]>
"Ryan" <[email protected]>
"Alejandro" <[email protected]>
"Alejandro" <[email protected]>
"Alejandro" <[email protected]>
"Alejandro" <[email protected]>
"Austin" <[email protected]>
"Austin" <[email protected]>
"Austin" <[email protected]>
"Austin" <[email protected]>
"Austin" <[email protected]>
"Austin" <[email protected]>
"Beau" <[email protected]>
"Austin" <[email protected]>
"Austin" <[email protected]>
"Sarah" <[email protected]>
"Sarah" <[email protected]>
"Tyler" <[email protected]>
"Tyler" <[email protected]>
Amanda <[email protected]>
Amanda <[email protected]>
Amanda <[email protected]>

What am I doing wrong?

PostPosted: Sat May 28, 2005 3:10 am
by dstaples
So any ideas?

PostPosted: Sat May 28, 2005 7:45 am
by Quade
Hmm. I didn't think "lockout poster" used regex. I suppose I could try it in 5. I'd be concerned about performance but, it can't hurt to try.

PostPosted: Mon May 30, 2005 12:54 am
by dstaples
I had submitted a feature request that asked that there be another filter tab for poster keyword.

It sure would be useful.

PostPosted: Mon May 30, 2005 1:24 am
by Quade
There is a poster keyword filter. I just don't think it's regex.

PostPosted: Mon May 30, 2005 4:58 pm
by Smite
Some time ago you claimed to have hooked it up as regex. I never bothered testing that statement though. :P