Skip to content

kumo.string.psl_suffix(STRING)

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.

Get the public suffix as defined by Mozilla's Public Suffix List.

assert(kumo.string.psl_suffix 'www.example.com' == 'com')