Skip to main content

msgpart:body_match

Last updated March 2020

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');.

Was this page helpful?