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" <2005327224451KJI6YCR3AG4ZHJ@witty.com>
or
"Jalen" <2005327224434CESPURZ0LEYGFM@catlover.com>

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" <200532804749Y8VXAQ14LHMN2Y@earthling.net>
Andre <1111857632424599E044681@aol.com>
Segre <111185217942458493AAF57@aol.com>
"Ryan" <200532420111OWFUIV4KY7WD1E@bikerider.com>
"Alejandro" <2005312193445M0TZVYOUED3MTZ@2die4.com>
"Alejandro" <20053121934477RPL056B2ER7ND@london.com>
"Alejandro" <20053121934481MJ8BFH1UDGFI1@maillist.ru>
"Alejandro" <2005312193458BFUB6EQKPUQFHF@paris.com>
"Austin" <2005314629511NLQC2WQTU4ZJ@playful.com>
"Austin" <200531463004D43HLPLZZE6L@catlover.com>
"Austin" <2005314630126O05U6GKMEMUT@witty.com>
"Austin" <200531463025FPEBP1J2W4JGV@technologist.com>
"Austin" <200531463031VGN4R8GBGPEPS@winning.com>
"Austin" <200531463129NNIUZROAMPSEN@programmer.net>
"Beau" <2005310033331KLU61BHV6HT3T@nycmail.com>
"Austin" <200531463049062PYEVWNPFV3@technologist.com>
"Austin" <2005314630126O05U6GKMEMUT@witty.com>
"Sarah" <200532312918IUPAIWCHCFKLZV@sanfranmail.com>
"Sarah" <200532312932U746KUI4RK1OVV@yours.com>
"Tyler" <200531055254YAQM4ESXX1A50@inorbit.com>
"Tyler" <200531055321VQOB3Z2A2JA52@seductive.com>
Amanda <11129583544256659222425@aol.com>
Amanda <111295835542566593446C0@aol.com>
Amanda <11129583604256659804F83@aol.com>

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