commandMentionRegex top-level property

RegExp commandMentionRegex
final

A pattern that matches slash commands in a message.

Implementation

final commandMentionRegex = RegExp(
  '<\\/(?<commandName>(?:$_baseCommandNamePattern(?:\\s$_baseCommandNamePattern){0,2})):(\\d{17,19})>',
  unicode: true,
);