procmail
[Top] [All Lists]

Re: understaning of procmail regex syntax/idiosyncarsies continues...

2002-03-10 00:44:09
crap...


in message <20020310071407(_dot_)GB740(_at_)moo(_dot_)holy(_dot_)cow>, 
wrote parv thusly...

i am trying to filter mail w/ following recipe ('\t' is actual tab)...
...
    * 2147483647^0 \
    ^Subject:.*\<(d(igi(tal)?)?[ \t]*slr|digi(tal)?[ 
\t]*(film|popular|camera|minolta|maxxum))
...
...w/ subject lines like this...

 Subject: Re: Re: DIGITAL Vs. FILM Archival Properties

...what's wrong w/ the above regex? shouldn't "digi(tal)[ \t]*
(film|...)" have caught the above mail?

argh! never mind, i found the error.  it was not procmail who was
idiosyncratic ...  i created the OR'd 2d regex from the first one,
and forgot to replace "[ \t]*" w/ ".*"

i apologize for my ADD.

 - parv


-- 
 
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>