Hamster Classic v2.1.0.11
Hi, help appreciated. I want to create a filter to drop posts
which are replies to (say) googlegroups.com.
That is, when someone replies to a googler and the google MID is
the last one in the References list. I do NOT wish to drop a post
if there are other googlegroup MIDs in the References list, only
if it is the last entry.
I believe I can use the $ character somewhere to indicate the end
of string, but I'm not sure how/where to use it and whether the
filter should be a regex or standard Hamster filter. I've tried
several ways without success:
References {[g][o][o][g][l][e][g][r][o][u][p][s][.][c][o][m]$}
References {googlegroups.com$}
References {googlegroups.com}$
References "googlegroups.com$"
References "googlegroups.com"$
Scenario:
1. [google post]
2. [response to googler post by non-googler]
3. [another response by non-googler]
I want a filter to drop article 2.
A suggested syntax to use please anyone?
TIA
Working, but complicated.
> References {googlegroups.com$}
Yes. Exactly it should be "{googlegroups/.com$}", as in RegEx, a dot means
'any character'. But at this position, it's very unlikely to find any
another character than a dot. So, both versions will do it quite well.
> References {googlegroups.com}$
> References "googlegroups.com$"
> References "googlegroups.com"$
No.
Wolfgang
--
Sorry, spelling mistake; must be "{googlegroups\.com$}".
Wolfgang
--
>"Wolfgang Jäth" <jawo.us...@goldmail.de> schrieb ...
>>
>> Yes. Exactly it should be "{googlegroups/.com$}",
>
>Sorry, spelling mistake; must be "{googlegroups\.com$}".
Don't forget the ">".
References: <foo...@example.net>
It must be "{googlegroups\.com>$}".
Michael
Uhgrr. Thanks Michael.
Today, I've been trying out Wolfgang's revised filter and
wondering why nothing appears to be getting caught.
I was going to try again tomorrow and see how it went...
Now I try out your revision with ">" in and see how that goes.
This is a good learning exercise for me :-)
Much appreciated.
Yes, of course. :-(
> References: <foo...@example.net>
>
> It must be "{googlegroups\.com>$}".
AOL.
Wolfgang
--
Michael and Wolfgang,
Yes, adding the ">" char to the filter makes it to work perfectly.
Life is becoming blissful ;-)
Many thanks for your help on this, much appreciated.