msg:body_match

March 26, 2020 Contributors

Name

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

Synopsis

msg:body_match(pattern);

pattern: string

Description

Streaming interface to a PCRE search of a message body (minus headers). If matches are found, they are returned. Otherwise this function returns false.

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

See Also

msg:body_replace