* Anders Johansson
On Tuesday 13 June 2006 16:26, John wrote:
So, in effect, trying to catch the [ character of the mailing list handle [OT] with \[ won't work?
No, it works. Trying to catch the T with T* doesn't
Try \[OT.*
instead. Note that * doesn't mean the same in a regular expression as it does in a shell. In a shell, * means "one or more characters". In a regular expression it means "zero or more of the preceeding character or group". The . matches any character, so .* matches zero or more characters
Also, it is not necessary to specify anything after the "OT" as procmail will do that itself, \[OT is sufficient Note: I believe that "\[" has special significance in procmail and does not do the regex escape of the char '[', but I am unable to find it in the man files. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com