procmail
[Top] [All Lists]

Re: This correct?

1998-03-14 09:35:34
Bill McClatchie asked,

| I have a scoring filter that looks for "crap" in the body of a message.  I
| want to add two things to this filter.  First, lines that begin with /.
| 
| Second, and instance of //+
| 
| Will the following do the trick since the / is a special symbol?
| 
| \/\/|^\/

/ is special only when escaped, so that won't work.  Try this:

 ^/|//

or

 (^|/)/

or if only one occurrence per line should be counted,

 ^(.*/)?/

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