userMentionRegex top-level property

RegExp userMentionRegex
final

A pattern that matches user mentions in a message.

Implementation

final userMentionRegex = RegExp(r"<@!?(\d+)>");