channelName property
Channel name pattern - matches valid channel names Format: /segment1/segment2/segment3 where segments contain alphanumeric, -, _, !, ~, (, ), $, @
Implementation
static final RegExp channelName = RegExp(
r'^/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+(\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+)*$',
);