builders.TextMatchesAny

Matches when the event text matches any of the named regex groups.

Usage

Source

builders.TextMatchesAny(
    groups,
    ignore_case=True,
)

Parameter Attributes

groups: tuple[tuple[str, str], …]
ignore_case: bool = True

Attributes

groups: tuple[tuple[str, str], …]

Ordered (name, pattern) pairs; names label composable, individually includable building blocks.

ignore_case: bool
Whether to compile case-insensitively.