procmail
[Top] [All Lists]

Re: regular expression question

2002-10-04 15:18:01
I KNOW that I have to \. the last dot to turn off the special meaning
for dot. But is that all? I have found that on one machine I use that
I have my sand box in I can search for this, but when I put in my
recipe it does not work.

Are there any special meanings to = or : or //

No...no special meanings.  Do you want to show us your actual recipe,
some content from actual mail that you think should trigger it, and what
your verbose logs say is happening?

Using these silly recipes:

  :0
  * B ?? href="http://www\.
  {
    LOG="Matched!
  "
  }

  :0 E
  {
    LOG="Not Matched!
  "
  }

and using a mail containing the text
  href="http://www.procmail.org";
I get 'Not Matched!' recorded in the log file.

Hope that helps,
Martin
-- 
Martin McCarthy                 /</    http://procmail.non-prophet.org
    `Procmail Companion'        \>\
     Addison Wesley             /</                  PGP key available
_______________________________________________
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>