🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Keith Fri, 04 Jun 2004 21:34
Is there a NOT operator in Dialog RE
#149382
Author: Keith
Date: Fri, 04 Jun 2004 21:34
11 lines
1302 bytes
 I checked the help file and the closest I came to
find a not operator is 
{[^edf]} 
in regular expressions. Am I missing something or is this the
only way to use a NOT operator? 

-- 
Do you want to increase American Outsourcing? 
Do you hate John Kerry? Do you want to see
Dubya invade Syria and Iran Next? Vote for
Ralph Nader, India needs your job. 
Re: Is there a NOT operator in Dialog RE
#149399
Author: Alain GUERIN
Date: Sat, 05 Jun 2004 09:09
21 lines
1841 bytes
Hello,


On Fri, 4 Jun 2004 14:34:50 -0700, Keith wrote:

>  I checked the help file and the closest I came to
> find a not operator is 
> {[^edf]} 
> in regular expressions. Am I missing something or is this the
> only way to use a NOT operator?

In the following expression:

!delete Subject -{^.*(Dialog|40tude|4d|hamster)}

the - is the not operator.

as far as I understand it, ^ means at the beginning of the string.

-- 
A.G.
Re: Is there a NOT operator in Dialog RE
#149400
Author: Alain GUERIN
Date: Sat, 05 Jun 2004 09:10
21 lines
1930 bytes
Hello,


On Fri, 4 Jun 2004 14:34:50 -0700, Keith wrote:

>  I checked the help file and the closest I came to
> find a not operator is 
> {[^edf]} 
> in regular expressions. Am I missing something or is this the
> only way to use a NOT operator?

In the following expression:

!delete Subject -{^.*(Dialog|40tude|4d|hamster)}

the - is the not operator.

as far as I understand it, ^ means also at the beginning of the string.

-- 
A.G.
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