Great Circle Associates Majordomo-Workers
(October 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Regexp wizard
From: "Roger B.A. Klorese" <rogerk @ QueerNet . ORG>
Date: Thu, 1 Oct 1998 21:50:09 -0700 (PDT)
To: Bill Houle <bhoule @ sparc . sandiegoca . ncr . com>
Cc: tibbs @ hpc . uh . edu, majordomo-workers @ GreatCircle . COM
In-reply-to: <199809260202.TAA09927@ssol020.sandiegoca.ncr.com>

On Fri, 25 Sep 1998, Bill Houle wrote:
> If you've never seen, Eudora's are very dumbed-down. Not incredibly
> flexible, but very effective. It's basically an English language
> front-end that let's you do one test operation (contains, begins
> with, etc) per fixed string:
> 
> <object><test><string>
> 
> Object := ( To: | From: | Cc: | Subject: | <specific hdr>: | <any hdr>: )
> 
> Test := ( is | is not | contains | does not contain | starts with 
> 	| ends with | appears | doesn't appear)
> 
> String := <any bare string>   (no regexps)
> 
> <string> is not used in the appears/doesn't test, since that is
> merely a header existence test.

It's a tad more capable than that, in that it's

  <object><test><string><secondarycondition>

 Object := ( To: | From: | Cc: | Subject: | <specific hdr>: | <any hdr>:

 
 Test := ( is | is not | contains | does not contain | starts with
       | ends with | appears | doesn't appear)
       
 String := <any bare string>   (no regexps)

 SecondaryCondition := ( ignore | <logical><object><test><string>

 Logical := ( and | or | unless )

More than one action can be taken as a result of a match.  Rules are
checked in order, until the special action "skip rest" is found.

-- 
ROGER B.A. KLORESE     rogerk@QueerNet.ORG     urgent: rogerk-page@QueerNet.ORG
2215-R Market Street #576         San Francisco, CA 94114       +1 415 ALL-ARFF
"There is only one real blasphemy -- the refusal of joy!"       -- Paul Rudnick



Follow-Ups:
References:
Indexed By Date Previous: Re: MailMan
From: "Randall S. Winchester" <rsw@Glue.umd.edu>
Next: Re: Regexp wizard
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: Regexp wizard
From: Russ Allbery <rra@stanford.edu>
Next: Re: Regexp wizard
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com