Jeremy Harris wrote:
> On 12/05/2009 08:59 PM, Marc Perkel wrote:
>   
>> Trying to use the sg command on the return from SpamAssassin to extract
>> info from the report. The problem is $spam_report has multiple lines and
>> the sg seems to want to operate on each line individually. What I'd like
>> to do is extract a string from part of the last line.
>>     
>
> Assuming that ${sg uses the PCRE library, try putting the matcher into
> multiline mode using (?m).   http://www.pcre.org for docs.
>
> Cheers,
>     Jeremy
>
>   

It was a nice try but apparently (?m) doesn't work.

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to