Function matrix_sdk::utils::is_room_alias_format_valid
source · pub fn is_room_alias_format_valid(alias: String) -> bool
Expand description
Verifies the passed String
matches the expected room alias format:
This means it’s lowercase, with no whitespace chars, has a single leading
#
char and a single :
separator between the local and domain parts, and
the local part only contains characters that can’t be percent encoded.