procmail
[Top] [All Lists]

Pattern matching question

1997-06-18 18:12:00
I'm trying to match text in the body of e-mail that begins with "$B"
and ends in either "(B" or "(J" on a single line.  The "$B" may or may
not start the line and the "(B" or "(J" may or may not end the line.

I believe I need to escape the "$" and the "(", so I've tried

  :0 BD
  * \$B.*(\(B|\(J)

but I don't get a match with this.  What might I be doing wrong?

Thanks.

-- 
_____________________________________________________________________________
Dan Kanagy               finger for PGP public key            
dkanagy(_at_)gol(_dot_)com
Tokyo, Japan                                              
wordwise(_at_)netcom(_dot_)com

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