Thread View: news.software.readers
20 messages
20 total messages
Started by John Fitzsimons
Mon, 08 Mar 2004 02:51
Dialog - RegExp query.
Author: John Fitzsimons
Date: Mon, 08 Mar 2004 02:51
Date: Mon, 08 Mar 2004 02:51
12 lines
1173 bytes
1173 bytes
I want to display in Dialog all posts without dialog or 40tude in the
header.
Filtering on RegExp not {dialog|40tude} and - {dialog|40tude} doesn't
appear to work. What should it be please ?
Anyone ? TIA.
Regards, John.
Re: Dialog - RegExp query.
Author: Jeff Relf
Date: Mon, 08 Mar 2004 09:53
Date: Mon, 08 Mar 2004 09:53
16 lines
1582 bytes
1582 bytes
Hi John Fitzsimons, You mentioned,
" I want to display in Dialog
all posts without dialog or 40tude in the header. ".
!retrieve From * # To score all headers in all messages,
# download all bodies.
=+1 header -{dialog|40tude} # Assign 1 to anything headers
# without " 40tude " in it.
!markread Score %<1
If you turn " Display headers " on,
you can search for -{dialog|40tude} in all bodies,
one at a time by hand.
Re: Dialog - RegExp query.
Author: John Fitzsimons
Date: Tue, 09 Mar 2004 05:40
Date: Tue, 09 Mar 2004 05:40
58 lines
2634 bytes
2634 bytes
On Mon, 8 Mar 2004 01:53:37 -0800, Jeff Relf <Me@Privacy.NET> wrote:
Hi Jeff,
Thanks for your help but...
>Hi John Fitzsimons, You mentioned,
>" I want to display in Dialog
> all posts without dialog or 40tude in the header. ".
>!retrieve From * # To score all headers in all messages,
> # download all bodies.
I want to filter existing posts. Not new ones.
>=+1 header -{dialog|40tude} # Assign 1 to anything headers
> # without " 40tude " in it.
>!markread Score %<1
If this works for existing posts, as well as new ones, then it sure is
a very tedious process. I was wanting something simple. Scoring then
filtering isn't simple. Sorting is.
Using
Subject RegExp {dialog|40tude}
works to find all posts with either/both in the header but what is the
opposite RegExp for that ?
Subject RegExp not {dialog|40tude}
and
Subject RegExp - {dialog|40tude}
don't seem to work. How does one do an exclusion RegExp sort ?
Anyone ?
>If you turn " Display headers " on,
> you can search for -{dialog|40tude} in all bodies,
> one at a time by hand.
Thanks, not sure where I enable that BUT in any case I am certainly
not going to go through thousands of posts one by one. That is what
"sorting" is supposed to do for me.
Here is the syntax that works for me in Agent :
not Subject: {Dialog|40tude} and not body: {Dialog|40tude}
Needless to say it doesn't work in Dialog. :-(
Regards, John.
Re: Dialog - RegExp query.
Author: foxidrive
Date: Tue, 09 Mar 2004 09:19
Date: Tue, 09 Mar 2004 09:19
13 lines
1882 bytes
1882 bytes
On Tue, 09 Mar 2004 16:40:07 +1100, John Fitzsimons wrote:
> I want to filter existing posts. Not new ones.
> Using
>
> Subject RegExp {dialog|40tude}
>
> works to find all posts with either/both in the header but what is the
> opposite RegExp for that ?
-({dial|40tude|})
Re: Dialog - RegExp query.
Author: Jeff Relf
Date: Tue, 09 Mar 2004 18:49
Date: Tue, 09 Mar 2004 18:49
9 lines
1383 bytes
1383 bytes
Hi John Fitzsimons, You mentioned,
" Subject RegExp - {dialog|40tude} "
Have you tried filtering the titles using:
RegExp -{dialog|40tude}
^ No space here.
It seems to me that you can't filter on all headers.
Re: Dialog - RegExp query.
Author: John Fitzsimons
Date: Wed, 10 Mar 2004 01:58
Date: Wed, 10 Mar 2004 01:58
24 lines
1596 bytes
1596 bytes
On Tue, 09 Mar 2004 09:19:29 GMT, foxidrive <foxidrive@Shotmail.com>
wrote:
>On Tue, 09 Mar 2004 16:40:07 +1100, John Fitzsimons wrote:
>> I want to filter existing posts. Not new ones.
>> Using
>> Subject RegExp {dialog|40tude}
>> works to find all posts with either/both in the header but what is the
>> opposite RegExp for that ?
>-({dial|40tude|})
Thanks. That certainly looks correct but when I use it in this
newsgroup I end up with an empty header pane. :-(
Same result if I leave out the second divider.
Regards, John.
Re: Dialog - RegExp query.
Author: John Fitzsimons
Date: Wed, 10 Mar 2004 01:58
Date: Wed, 10 Mar 2004 01:58
26 lines
1844 bytes
1844 bytes
On Tue, 9 Mar 2004 10:49:40 -0800, Jeff Relf <Me@Privacy.NET> wrote:
>Hi John Fitzsimons, You mentioned,
>" Subject RegExp - {dialog|40tude} "
>
>Have you tried filtering the titles using:
> RegExp -{dialog|40tude}
> ^ No space here.
Thanks, I tried -{dialog|40tude} but got ;
Stream read error while extracting body of GroupKey: 76898 ArticleKey:
34561 Stream size 294516.
No idea what that problem is, or how to fix it. I have recently sent
Marcus error logs without getting any replies/fixes so don't think I
will bother with this one.
>It seems to me that you can't filter on all headers.
Looks like it. An "all headers" and "body" searching options would
sure be handy.
Regards, John.
Re: Dialog - RegExp query.
Author: foxidrive
Date: Wed, 10 Mar 2004 06:14
Date: Wed, 10 Mar 2004 06:14
18 lines
2156 bytes
2156 bytes
On Wed, 10 Mar 2004 12:58:32 +1100, John Fitzsimons wrote:
> On Tue, 09 Mar 2004 09:19:29 GMT, foxidrive <foxidrive@Shotmail.com>
>>-({dial|40tude|})
>
> Thanks. That certainly looks correct but when I use it in this
> newsgroup I end up with an empty header pane. :-(
Oops. Back to the old drawing board.
That's what I got too but I filter on dialog in my scoring and actions, so
I assumed incorrectly that it worked.
I tried a few other things just now but I also can't find a way to
implement NOT. Searching the regexp section in the help doesn't find NOT,
except when used in [^char] constructions.
Sorry to send you on a wild goose chase.
Re: Dialog - RegExp query.
Author: Jeff Relf
Date: Wed, 10 Mar 2004 11:22
Date: Wed, 10 Mar 2004 11:22
17 lines
1751 bytes
1751 bytes
Hi John Fitzsimons, You mentioned you got a, " Stream read error while extracting body of ... " error. Have you gone to a read view, selected all messages deleted them, and then re-downloaded ? I think that might fix that error. You might also do the non-through scandisk, that sometimes helps. You said, << An " all headers " and " body " searching options would sure be handy. >> You mean " Filter ", not " Search ". You know that you can search on the bodies of messages.
Re: Dialog - RegExp query.
Author: Al4no
Date: Wed, 10 Mar 2004 12:27
Date: Wed, 10 Mar 2004 12:27
16 lines
1462 bytes
1462 bytes
this Mon, 08 Mar 2004 13:51:18 +1100, John Fitzsimons wrote :
> I want to display in Dialog all posts without dialog or 40tude in the
> header.
Hi,
This action should work (altough "delete" may be a bit strong):
[news.software.readers]
!delete Subject {^.*(dialog|40tude)}
--
Al
Re: Dialog - RegExp query.
Author: Walter Johnson
Date: Thu, 11 Mar 2004 06:13
Date: Thu, 11 Mar 2004 06:13
22 lines
1811 bytes
1811 bytes
On Wed, 10 Mar 2004 13:27:00 +0100, Al4no wrote:
> Mon, 08 Mar 2004 13:51:18 +1100, John Fitzsimons wrote :
>
>> I want to display in Dialog all posts without dialog or 40tude in the
>> header.
>
> Hi,
> This action should work (altough "delete" may be a bit strong):
>
> [news.software.readers]
> !delete Subject {^.*(dialog|40tude)}
I use a slight variation, found in this N.G.:
!delete Subject -{^.*(40tude|d...og)}
The expression "d...og" accepts common & frequent typos or
mis-spellings of dialog, such as "dailog", "diolog", etc.
Otherwise, those messages would never be seen.
The expression list could probably be improved, to catch
typos like "dialag" and "40-tude", etc.
Re: 40tude - RegExp query.
Author: foxidrive
Date: Thu, 11 Mar 2004 08:24
Date: Thu, 11 Mar 2004 08:24
28 lines
2457 bytes
2457 bytes
On Thu, 11 Mar 2004 06:13:23 GMT, Walter Johnson wrote:
> On Wed, 10 Mar 2004 13:27:00 +0100, Al4no wrote:
>> Mon, 08 Mar 2004 13:51:18 +1100, John Fitzsimons wrote :
>>
>>> I want to display in Dialog all posts without dialog or 40tude in the
>>> header.
>>
>> Hi,
>> This action should work (altough "delete" may be a bit strong):
>>
>> [news.software.readers]
>> !delete Subject {^.*(dialog|40tude)}
>
> I use a slight variation, found in this N.G.:
> !delete Subject -{^.*(40tude|d...og)}
>
> The expression "d...og" accepts common & frequent typos or
> mis-spellings of dialog, such as "dailog", "diolog", etc.
> Otherwise, those messages would never be seen.
>
> The expression list could probably be improved, to catch
> typos like "dialag" and "40-tude", etc.
Perhaps this?
!delete Subject -{^.*(40.*tude|d....g)}
Re: 40tude - RegExp query.
Author: Andreas Loch
Date: Fri, 12 Mar 2004 11:40
Date: Fri, 12 Mar 2004 11:40
29 lines
2356 bytes
2356 bytes
Thu, 11 Mar 2004 08:24:10 GMT, foxidrive:
> On Thu, 11 Mar 2004 06:13:23 GMT, Walter Johnson wrote:
>> I use a slight variation, found in this N.G.:
>> !delete Subject -{^.*(40tude|d...og)}
>>
>> The expression list could probably be improved, to catch
>> typos like "dialag" and "40-tude", etc.
>
> Perhaps this?
>
> !delete Subject -{^.*(40.*tude|d....g)}
Too many unwanted threads would not be deleted:
Subject: (Xnews) How do I get my missing columns back.....
^ ^
Subject: [Xnews] Finding groups out of several servers
^ ^
Andreas
--
http://gigaschatten.de/
Now another way to explain acronyms to newbies:
"Install 40tude Dialog and hover the cursor over, dude."
[Loonie in news.software.readers]
Re: Dialog - RegExp query.
Author: Anders Eriksson
Date: Fri, 12 Mar 2004 12:54
Date: Fri, 12 Mar 2004 12:54
29 lines
2111 bytes
2111 bytes
On Mon, 08 Mar 2004 13:51:18 +1100, John Fitzsimons wrote:
> I want to display in Dialog all posts without dialog or 40tude in the
> header.
>
> Filtering on RegExp not {dialog|40tude} and - {dialog|40tude} doesn't
> appear to work. What should it be please ?
>
Hello!
I have followed this thread, with interest and a question appeared.
What RegEx engine does Dialog use?
Normally I use (?! to negate a match, so the answer to the question should
be:
(?!dial|40tude)
But when I put that in the filter I get:
Regex-error in {(?!dial|40tude)}: Urecognized Modifier (pos 14)
Seems like there is more than spelling errors ;-)
// Anders
--
My software never has bugs. It just develops random features.
Re: Dialog - RegExp query.
Author: Jeff Relf
Date: Fri, 12 Mar 2004 14:25
Date: Fri, 12 Mar 2004 14:25
14 lines
1440 bytes
1440 bytes
Hi Anders Eriksson,
You showed: {(?!dial|40tude)}
To turn on case sensitivity, I use: (?-i)
e.g.: =+100 From {(?-i)Relf}
So you might try this: {(?!)(dial|40tude)}
or simply: -{dial|40tude}
You can test such expressions in one of the tabs
inside the " Scoring and Actions " window.
Re: 40tude - RegExp query.
Author: Walter Johnson
Date: Sat, 13 Mar 2004 01:17
Date: Sat, 13 Mar 2004 01:17
29 lines
2430 bytes
2430 bytes
On Fri, 12 Mar 2004 12:40:59 +0100, Andreas Loch wrote:
>>> The expression list could probably be improved, to catch
>>> typos like "dialag" and "40-tude", etc.
>>
>> Perhaps this?
>>
>> !delete Subject -{^.*(40.*tude|d....g)}
>
> Too many unwanted threads would not be deleted:
>
> Subject: (Xnews) How do I get my missing columns back.....
> ^ ^
>
> Subject: [Xnews] Finding groups out of several servers
Good point. "d..l.g" would be better, I think. It would catch
most typos or transpositions, like "dailog", with fewer false
positives like your examples above. But there will always be
imperfections in any filter expression:
Subject: [Xnews] How to do logging of reject emails?
^ ^ ^
But I'd rather see a small number of unwanted posts, than miss any
posts because of a simple spelling error!
I wonder if Agent will ever catch up to Dialog's flexibility in this
area? And even if they do, will any former Agent users switch back?
Re: 40tude - RegExp query.
Author: foxidrive
Date: Sat, 13 Mar 2004 02:28
Date: Sat, 13 Mar 2004 02:28
29 lines
2461 bytes
2461 bytes
On Fri, 12 Mar 2004 12:40:59 +0100, Andreas Loch wrote:
> Thu, 11 Mar 2004 08:24:10 GMT, foxidrive:
>
>> On Thu, 11 Mar 2004 06:13:23 GMT, Walter Johnson wrote:
>
>>> I use a slight variation, found in this N.G.:
>>> !delete Subject -{^.*(40tude|d...og)}
>>>
>>> The expression list could probably be improved, to catch
>>> typos like "dialag" and "40-tude", etc.
>>
>> Perhaps this?
>>
>> !delete Subject -{^.*(40.*tude|d....g)}
>
> Too many unwanted threads would not be deleted:
>
> Subject: (Xnews) How do I get my missing columns back.....
> ^ ^
>
> Subject: [Xnews] Finding groups out of several servers
> ^ ^
Good point. This alternative will weed out those two matches, plus catch
more mispellings of Dialog.
!delete Subject -{^.*(40.*tude|d[ialog]*g)}
Re: Dialog - RegExp query.
Author: Anders Eriksson
Date: Mon, 15 Mar 2004 10:35
Date: Mon, 15 Mar 2004 10:35
31 lines
2309 bytes
2309 bytes
Hello Jeff!
On Fri, 12 Mar 2004 06:25:09 -0800, Jeff Relf wrote:
> So you might try this: {(?!)(dial|40tude)}
>
> or simply: -{dial|40tude}
>
> You can test such expressions in one of the tabs
> inside the " Scoring and Actions " window.
First, thank you for answering!
The question that OP and I asked was about filtering using regexp, not
scoring. When you do scoring you can use the - but as you can see from your
own sample the - is NOT part or the regexp! It's a special meta character
for scoring.
The (?!)(dial|40tude) does not work. In scoring (using the test expression)
it gives the error message:
Urecognized Modifier (pos 3)
and in filtering it will not filter, it shows the same as without filter...
So I repeat my question: Which Regex Engine does Dialog use?
// Anders
Re: Dialog - RegExp query.
Author: Jeff Relf
Date: Mon, 15 Mar 2004 17:25
Date: Mon, 15 Mar 2004 17:25
12 lines
1473 bytes
1473 bytes
Hi Anders Eriksson, You aksed, " Which Regex Engine does Dialog use ? ". I don't know. But regardless of the engine it's using, when it comes to filters, I doubt that it has that Not feature you're looking for. I never use filters myself, sorry.
Re: Dialog - RegExp query.
Author: Julia Thorne
Date: Mon, 15 Mar 2004 21:53
Date: Mon, 15 Mar 2004 21:53
35 lines
2587 bytes
2587 bytes
On Mon, 15 Mar 2004 11:35:11 +0100, Anders Eriksson wrote:
>> So you might try this: {(?!)(dial|40tude)}
>> or simply: -{dial|40tude}
>>
> The question that OP and I asked was about filtering using regexp, not
> scoring. When you do scoring you can use the - but as you can see from your
> own sample the - is NOT part or the regexp! It's a special meta character
> for scoring.
The "-" is not PART of the regexp, but it does negate the regexp. AFAIK,
it's outside the regexp, not part of a standard regexp implementation.
In this case, it's not used for scoring, it's used for Actions. IMO,
they should be on separate menus. The 2nd example above works, but it's
not a complete action statement. You also need an Action, something
to use the regexp on, and someplace (a group) to use it on.
This example works:
[news.software.readers]
!delete Subject -{^.*(40.*tude|d..l.g)}
It deletes any message that doesn't mention 40tude or dialog in the
Subject line. Deletion is a little harsh in some cases- you may
want to use "!markread" instead.
> So I repeat my question: Which Regex Engine does Dialog use?
A good question, and I think many of us would like to know!
I would also like to see complete documentation on the regexp
implementation in Dialog, since "regular expressions" are more
"irregular" than some people would like to believe. :-)
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