🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Malcolm Miles Sat, 22 May 2004 04:41
[Dialog] Search for multiple words
#148662
Author: Malcolm Miles
Date: Sat, 22 May 2004 04:41
7 lines
1245 bytes
How do I search for 2 or more words in a message? The Find dialog
doesn't seem to support simple Boolean operations like "fred and
barney" or "fred or barney".

-- 
Best wishes,
Malcolm
Re: [Dialog] Search for multiple words
#148666
Author: Antonio 'Gandalf' Favata
Date: Sat, 22 May 2004 05:11
18 lines
1856 bytes
Je la 22/05/04, Malcolm Miles skribis:

> How do I search for 2 or more words in a message? The Find dialog
> doesn't seem to support simple Boolean operations like "fred and
> barney" or "fred or barney".

But you can use regular expressions, far more powerful than simple
Boolen operations... except that there's no AND operator :)

Anyway:
«fred or barney»		--->	fred|barney
«fred and barney» in this order	--->	fred.*barney
«fred and barney» in any order	--->	(fred.*barney)|(barney.*fred)
-- 
Fare Well!      FIAG member | Free mail & news | 40tude Dialog v2.0.12.1
G               www.fiag.it | www.x-planet.org | http://snurl.com/dialog

Miranda, Trillian, ICQ, MSN: news:it-alt.comp.software.instant-messaging
Re: [Dialog] Search for multiple words
#149308
Author: Malcolm Miles
Date: Wed, 02 Jun 2004 13:17
26 lines
2138 bytes
Antonio 'Gandalf' Favata <Antonio 'Gandalf' Favata <gandalf@ithn.net>>
wrote:

>> How do I search for 2 or more words in a message? The Find dialog
>> doesn't seem to support simple Boolean operations like "fred and
>> barney" or "fred or barney".
>
>But you can use regular expressions, far more powerful than simple
>Boolen operations... except that there's no AND operator :)
>
>Anyway:
>«fred or barney»		--->	fred|barney
>«fred and barney» in this order	--->	fred.*barney
>«fred and barney» in any order	--->	(fred.*barney)|(barney.*fred)

And if I want to search for 'fred AND barney AND wilma AND betty' in
any order? Won't the regex get ridiculously complicated?

There is also the annoyance that each press of F3 will find the next
occurrence in the same message. If the seach words are found 5 times
in a message you have to press F3 5 times to search to the next
message.

-- 
Best wishes,
Malcolm
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