commandMentionRegex top-level property
A pattern that matches slash commands in a message.
Implementation
final commandMentionRegex = RegExp(
'<\\/(?<commandName>(?:$_baseCommandNamePattern(?:\\s$_baseCommandNamePattern){0,2})):(\\d{17,19})>',
unicode: true,
);