procmail
[Top] [All Lists]

Re: Over zealous subject filter

2001-06-23 15:56:34
   From: Martin McCarthy <marty(_at_)ancient-scotland(_dot_)co(_dot_)uk>
   Date: Sat, 23 Jun 2001 23:05:24 +0100

   '*' says "match zero or more of the previous character".  So "workz*"
   matches 'w' 'o' 'r' 'k' 'zero or more zs'

Ahhhhhhh that makes sense!

   You seem to half realise this as you use '.*' (to match zero or more of
   any character) half the time and just '*' the other half of the time.
   To do what you want you need to replace those trailing '*'s with '.*'.

Well, I wasn't sure.  I've been copying other people's recipes and adapting
them, not writing any from scratch.  The other recipes use the format of
surrounding the phrase with * so I kept it.  I hadn't a clue what the
period meant.  Those man pages aren't really written as a teaching tool.

Your changes are perfect and I'm going to go modify my .procmailrc file
right now.

Thanks so much!

Cyndi

-- 
_______________________________________________________________________________
"There's nothing wrong with me.  Maybe there's                     Cyndi Norman
something wrong with the universe." (ST:TNG)           
cyndi(_at_)consultclarity(_dot_)com
                                                         http://www.tikvah.com/
_________________ Owner of the Immune Website & Lists http://www.immuneweb.org/
_______________________________________________
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>