msgpart:body_match

March 26, 2020 Contributors

Name

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

Synopsis

msgpart:body_match(pattern);

pattern: string

Description

Streaming interface to a PCRE search of a message body part (minus headers). If no match is found, false is returned.

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