urlMentionPattern top-level property

RegExp urlMentionPattern
final

Pattern for URL mentions: @https://... or @http://...

Implementation

final urlMentionPattern = RegExp(r'@(https?://[^\s]+)', multiLine: true);