Thread View: news.software.readers
11 messages
11 total messages
Started by Sparafucile
Fri, 24 Apr 2009 17:24
Dialog: deleting a troll
Author: Sparafucile
Date: Fri, 24 Apr 2009 17:24
Date: Fri, 24 Apr 2009 17:24
22 lines
1627 bytes
1627 bytes
Hi,
One of my newsgroups has a pesky troll who always posts as
someone@budwiser.com, varying the "someone" with different names. like
Kate_X etc. I want to delete posts with any possible name before the
@.
I've tried:
!delete From "[/w]@budweiser.com"
and
!delete From "[a-z]@budweiser.com"
but neither works.
Obviously I don't understand regular expressions. Can anyone give me
a hand?
TIA!
--
Ciao,
Serge
Re: Dialog: deleting a troll
Author: Beauregard T. Shagnasty
Date: Fri, 24 Apr 2009 18:04
Date: Fri, 24 Apr 2009 18:04
27 lines
2259 bytes
2259 bytes
Sparafucile wrote: > Hi, > > One of my newsgroups has a pesky troll who always posts as > someone@budwiser.com, varying the "someone" with different names. > like Kate_X etc. I want to delete posts with any possible name before > the @. > > I've tried: > !delete From "[/w]@budweiser.com" > and > !delete From "[a-z]@budweiser.com" > > but neither works. How about simply: !delete From budweiser.com (I guess you mistyped it first, as "budwiser.com" ?) I normally use !markread instead of !delete so you can see the headers if you view read messages (Ctrl-F1 and Ctrl-F2 toggles). -- -bts -Friends don't let friends drive Windows
Re: Dialog: deleting a troll
Author: Gene E. Bloch
Date: Fri, 24 Apr 2009 18:05
Date: Fri, 24 Apr 2009 18:05
29 lines
1952 bytes
1952 bytes
On Fri, 24 Apr 2009 13:24:45 -0400, Sparafucile wrote: > Hi, > > One of my newsgroups has a pesky troll who always posts as > someone@budwiser.com, varying the "someone" with different names. like > Kate_X etc. I want to delete posts with any possible name before the > @. > > I've tried: > !delete From "[/w]@budweiser.com" > and > !delete From "[a-z]@budweiser.com" > > but neither works. > > Obviously I don't understand regular expressions. Can anyone give me > a hand? > > TIA! I haven't tried this, but my guess is that !delete From "budweiser.com" would work. -- Gene E. Bloch letters0x40blochg0x2Ecom
Re: Dialog: deleting a troll
Author: Gene E. Bloch
Date: Fri, 24 Apr 2009 18:10
Date: Fri, 24 Apr 2009 18:10
36 lines
2252 bytes
2252 bytes
On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote: > On Fri, 24 Apr 2009 13:24:45 -0400, Sparafucile wrote: > >> Hi, >> >> One of my newsgroups has a pesky troll who always posts as >> someone@budwiser.com, varying the "someone" with different names. like >> Kate_X etc. I want to delete posts with any possible name before the >> @. >> >> I've tried: >> !delete From "[/w]@budweiser.com" >> and >> !delete From "[a-z]@budweiser.com" >> >> but neither works. >> >> Obviously I don't understand regular expressions. Can anyone give me >> a hand? >> >> TIA! > > I haven't tried this, but my guess is that > > !delete From "budweiser.com" > > would work. 1. I see that Mr Shagnasty posted the same suggestion, so I must be right :-) 2. Also, I went ahead & did the experiment, and it works as above. -- Gene E. Bloch letters0x40blochg0x2Ecom
Re: Dialog: deleting a troll
Author: Beauregard T. Shagnasty
Date: Fri, 24 Apr 2009 20:04
Date: Fri, 24 Apr 2009 20:04
21 lines
2155 bytes
2155 bytes
Gene E. Bloch wrote: > On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote: >> I haven't tried this, but my guess is that >> >> !delete From "budweiser.com" >> >> would work. > > 1. I see that Mr Shagnasty posted the same suggestion, so I must be right > :-) Without seeing the headers, !delete Message-ID budweiser.com (or !markread ) might work as well, if that domain is in the Message-ID. :-) -- -bts -Friends don't let friends drive Windows
Re: Dialog: deleting a troll
Author: Gene E. Bloch
Date: Sat, 25 Apr 2009 00:55
Date: Sat, 25 Apr 2009 00:55
34 lines
2540 bytes
2540 bytes
On Fri, 24 Apr 2009 16:04:09 -0400, Beauregard T. Shagnasty wrote: > Gene E. Bloch wrote: > >> On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote: >>> I haven't tried this, but my guess is that >>> >>> !delete From "budweiser.com" >>> >>> would work. >> >> 1. I see that Mr Shagnasty posted the same suggestion, so I must be right >> :-) > > Without seeing the headers, > > !delete Message-ID budweiser.com (or !markread ) > > might work as well, if that domain is in the Message-ID. :-) But I don't work with message IDs! Actually, that's true, but I was really just joking. I just came from another NG where this person had a problem, and her response to most of the suggestions ranged from (paraphrasing her remarks) "I don't believe you" to "Can you provide a comparison of those alternatives", so I had to get weird to clear my palate :-) Maybe I will experiment with MIDs if my rather limited filters finally prove inadequate, or if I need entertainment (i.e., education). Dialog's help does say that MIDs are available... -- Gene E. Bloch letters0x40blochg0x2Ecom
Re: Dialog: deleting a troll
Author: teabag
Date: Sat, 25 Apr 2009 01:38
Date: Sat, 25 Apr 2009 01:38
36 lines
2867 bytes
2867 bytes
On Fri, 24 Apr 2009 17:55:57 -0700, Gene E. Bloch wrote:
> On Fri, 24 Apr 2009 16:04:09 -0400, Beauregard T. Shagnasty wrote:
>
>> Gene E. Bloch wrote:
>>
>>> On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote:
>>>> I haven't tried this, but my guess is that
>>>>
>>>> !delete From "budweiser.com"
>>>>
>>>> would work.
>>>
>>> 1. I see that Mr Shagnasty posted the same suggestion, so I must be right
>>> :-)
>>
>> Without seeing the headers,
>>
>> !delete Message-ID budweiser.com (or !markread )
>>
>> might work as well, if that domain is in the Message-ID. :-)
>
> But I don't work with message IDs!
>
> Actually, that's true, but I was really just joking. I just came from
> another NG where this person had a problem, and her response to most of the
> suggestions ranged from (paraphrasing her remarks) "I don't believe you" to
> "Can you provide a comparison of those alternatives", so I had to get weird
> to clear my palate :-)
>
> Maybe I will experiment with MIDs if my rather limited filters finally
> prove inadequate, or if I need entertainment (i.e., education). Dialog's
> help does say that MIDs are available...
And, though not needed in this case the OP's regular expressions were not.
In Dialog it is not a RE unless it is enclosed in {}.
Re: Dialog: deleting a troll
Author: Peter J Ross
Date: Sat, 25 Apr 2009 18:28
Date: Sat, 25 Apr 2009 18:28
38 lines
2321 bytes
2321 bytes
In news.software.readers on Fri, 24 Apr 2009 13:24:45 -0400,
Sparafucile <fake@aol.com> wrote:
> Hi,
>
> One of my newsgroups has a pesky troll who always posts as
> someone@budwiser.com, varying the "someone" with different names. like
> Kate_X etc. I want to delete posts with any possible name before the
> @.
>
> I've tried:
> !delete From "[/w]@budweiser.com"
You certainly want "\w", not "[/w]" here, and IIRC Dialog expects
regexes to be contained in braces - {regex} - not quotes - "regex".
\w matches any "word" character.
[/w] matches a slash or a w.
It's the *back*slash that has a special meaning.
> and
> !delete From "[a-z]@budweiser.com"
>
> but neither works.
>
> Obviously I don't understand regular expressions. Can anyone give me
> a hand?
You don't need regular expressions to delete any From: line that
contains "@budweiser.com".
--
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: Dialog: deleting a troll
Author: Gene E. Bloch
Date: Mon, 27 Apr 2009 23:04
Date: Mon, 27 Apr 2009 23:04
44 lines
3109 bytes
3109 bytes
On Fri, 24 Apr 2009 18:38:20 -0700, teabag wrote:
> On Fri, 24 Apr 2009 17:55:57 -0700, Gene E. Bloch wrote:
>
>> On Fri, 24 Apr 2009 16:04:09 -0400, Beauregard T. Shagnasty wrote:
>>
>>> Gene E. Bloch wrote:
>>>
>>>> On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote:
>>>>> I haven't tried this, but my guess is that
>>>>>
>>>>> !delete From "budweiser.com"
>>>>>
>>>>> would work.
>>>>
>>>> 1. I see that Mr Shagnasty posted the same suggestion, so I must be right
>>>> :-)
>>>
>>> Without seeing the headers,
>>>
>>> !delete Message-ID budweiser.com (or !markread )
>>>
>>> might work as well, if that domain is in the Message-ID. :-)
>>
>> But I don't work with message IDs!
>>
>> Actually, that's true, but I was really just joking. I just came from
>> another NG where this person had a problem, and her response to most of the
>> suggestions ranged from (paraphrasing her remarks) "I don't believe you" to
>> "Can you provide a comparison of those alternatives", so I had to get weird
>> to clear my palate :-)
>>
>> Maybe I will experiment with MIDs if my rather limited filters finally
>> prove inadequate, or if I need entertainment (i.e., education). Dialog's
>> help does say that MIDs are available...
>
> And, though not needed in this case the OP's regular expressions were not.
> In Dialog it is not a RE unless it is enclosed in {}.
OK, I read the above comment at least five times, and I still don't know
what you mean. Could you help me here?
--
Gene E. Bloch letters0x40blochg0x2Ecom
Re: Dialog: deleting a troll
Author: teabag
Date: Tue, 28 Apr 2009 02:08
Date: Tue, 28 Apr 2009 02:08
47 lines
3399 bytes
3399 bytes
On Mon, 27 Apr 2009 16:04:02 -0700, Gene E. Bloch wrote:
> On Fri, 24 Apr 2009 18:38:20 -0700, teabag wrote:
>
>> On Fri, 24 Apr 2009 17:55:57 -0700, Gene E. Bloch wrote:
>>
>>> On Fri, 24 Apr 2009 16:04:09 -0400, Beauregard T. Shagnasty wrote:
>>>
>>>> Gene E. Bloch wrote:
>>>>
>>>>> On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote:
>>>>>> I haven't tried this, but my guess is that
>>>>>>
>>>>>> !delete From "budweiser.com"
>>>>>>
>>>>>> would work.
>>>>>
>>>>> 1. I see that Mr Shagnasty posted the same suggestion, so I must be right
>>>>> :-)
>>>>
>>>> Without seeing the headers,
>>>>
>>>> !delete Message-ID budweiser.com (or !markread )
>>>>
>>>> might work as well, if that domain is in the Message-ID. :-)
>>>
>>> But I don't work with message IDs!
>>>
>>> Actually, that's true, but I was really just joking. I just came from
>>> another NG where this person had a problem, and her response to most of the
>>> suggestions ranged from (paraphrasing her remarks) "I don't believe you" to
>>> "Can you provide a comparison of those alternatives", so I had to get weird
>>> to clear my palate :-)
>>>
>>> Maybe I will experiment with MIDs if my rather limited filters finally
>>> prove inadequate, or if I need entertainment (i.e., education). Dialog's
>>> help does say that MIDs are available...
>>
>> And, though not needed in this case the OP's regular expressions were not.
>> In Dialog it is not a RE unless it is enclosed in {}.
>
> OK, I read the above comment at least five times, and I still don't know
> what you mean. Could you help me here?
What, you don't like my syntax? Dialog doesn't know you are trying to use a
regular expression unles the terms of that expression are enclosed in curly
brackets "{}". Is that better?
Re: Dialog: deleting a troll
Author: Gene E. Bloch
Date: Tue, 28 Apr 2009 03:38
Date: Tue, 28 Apr 2009 03:38
62 lines
3865 bytes
3865 bytes
On Mon, 27 Apr 2009 19:08:00 -0700, teabag wrote:
> On Mon, 27 Apr 2009 16:04:02 -0700, Gene E. Bloch wrote:
>
>> On Fri, 24 Apr 2009 18:38:20 -0700, teabag wrote:
>>
>>> On Fri, 24 Apr 2009 17:55:57 -0700, Gene E. Bloch wrote:
>>>
>>>> On Fri, 24 Apr 2009 16:04:09 -0400, Beauregard T. Shagnasty wrote:
>>>>
>>>>> Gene E. Bloch wrote:
>>>>>
>>>>>> On Fri, 24 Apr 2009 11:05:48 -0700, Gene E. Bloch wrote:
>>>>>>> I haven't tried this, but my guess is that
>>>>>>>
>>>>>>> !delete From "budweiser.com"
>>>>>>>
>>>>>>> would work.
>>>>>>
>>>>>> 1. I see that Mr Shagnasty posted the same suggestion, so I must be right
>>>>>> :-)
>>>>>
>>>>> Without seeing the headers,
>>>>>
>>>>> !delete Message-ID budweiser.com (or !markread )
>>>>>
>>>>> might work as well, if that domain is in the Message-ID. :-)
>>>>
>>>> But I don't work with message IDs!
>>>>
>>>> Actually, that's true, but I was really just joking. I just came from
>>>> another NG where this person had a problem, and her response to most of the
>>>> suggestions ranged from (paraphrasing her remarks) "I don't believe you" to
>>>> "Can you provide a comparison of those alternatives", so I had to get weird
>>>> to clear my palate :-)
>>>>
>>>> Maybe I will experiment with MIDs if my rather limited filters finally
>>>> prove inadequate, or if I need entertainment (i.e., education). Dialog's
>>>> help does say that MIDs are available...
>>>
>>> And, though not needed in this case the OP's regular expressions were not.
>>> In Dialog it is not a RE unless it is enclosed in {}.
>>
>> OK, I read the above comment at least five times, and I still don't know
>> what you mean. Could you help me here?
>
> What, you don't like my syntax? Dialog doesn't know you are trying to use a
> regular expression unles the terms of that expression are enclosed in curly
> brackets "{}". Is that better?
Yes, much better, thanks!
Anyway, a few of the solutions offered to the OP by me and others were not
REs, so they would've worked fine.
And I have to admit that I didn't know that Dialog's REs required braces as
a syntactical marker :-)
And now it's time to fix a couple of my filters...
--
Gene E. Bloch letters0x40blochg0x2Ecom
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads