msg:raw_match

March 26, 2020 Contributors

Name

msg:raw_match — Streaming interface to a PCRE search of the message content

Synopsis

msg:raw_match(pattern);

pattern: string

Description

Streaming interface to a PCRE search of the message content. This applies to the entire message content, headers through body, without decoding transfer encoding. This function returns all matches. If no match is found, false is returned.

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

See Also

msg:raw_replace