Skip to content

match

The match function returns true if the first argument matches the given regular expression.

Usage

match(field, /regex/)

Example:

where match(message, `^Error:.*`)

This matches records where the message field matches the regex pattern ^Error:.*.