msgpart:body_replace

March 26, 2020

Name

msgpart:body_replace — Streaming interface to a PCRE replacement of a message body part (minus headers)

Synopsis

msgpart:body_replace(pattern, replacement);

pattern: string
replacement: string

Description

Streaming interface to a PCRE replacement of a message body part (minus headers).

Enable this function with the statement require('msys.extended.message');.