LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] procmail and regexps

[ILUG] procmail and regexps

Steffen Higel higels at tcd.ie
Wed May 23 08:38:54 IST 2001


On Tue, May 22, 2001 at 11:10:10PM +0100, Conor Daly articulated:
> I've got the following in my .procmailrc
> 
> :0:
> * ^Subject: [Volunteers]
> Lists/volunteers
> 
> I'm trying to match on "[Volunteers]" in the mailman list name style.
> Trouble is, other messages are triggering this rule and ending up in the
> wrong place.  I've decided that the '[' and ']' are becoming a 
> "match one of the included chars" type regexp.  Question is, how do I
> escape the '[' in a procmail regexp?  Will the folowing work?

It should, but is there anything stopping you from sending a mail to
yourself with [whatever] in the subject?

-- 
Steffen Higel
mailto:higels at tcd.ie
http://matrix.netsoc.tcd.ie/~steffen




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell