roleMentionRegex top-level property

RegExp roleMentionRegex
final

A pattern that matches role mentions in a message.

Implementation

final roleMentionRegex = RegExp(r"<@&(\d+)>");