Subject: Re: MATCH

From: Roman Czyborra <[email-masked]>
Date: Mon, 27 Mar 1995 11:40:10 +0200

> Can someone tell me how the MATCH works in procmail?

The manual:

     \/        Splits the expression in  two  parts.   Everything
               matching  the  right  part will be assigned to the
               MATCH environment variable.

An example:

	:0
	* ^Subject:\/.*
	{ SUBJECT="$MATCH" }

> Ideally, I would like to extract a matched text like perl does.

MATCH is not as powerful as perl's engine but it suffices for most uses.