Skip to content

kumo.regex.escape(PATTERN)

Since: Version 2024.09.02-c5476b89

The functionality described in this section requires version 2024.09.02-c5476b89 of KumoMTA, or a more recent version.

Escapes all regular expression meta characters in PATTERN.

The string returned may be safely used as a literal in a regular expression.