improve link regex

This commit is contained in:
Tommy Chow 2025-03-23 21:53:47 -07:00
parent b6a7c94293
commit c7c85af6b4
2 changed files with 6 additions and 1 deletions

View file

@ -694,7 +694,7 @@ class IRCMessage {
}
},
);
} else if (RegExp(r'https?:\/\/').hasMatch(text)) {
} else if (regexLink.hasMatch(text)) {
return TextSpan(
text: text,
style: style?.copyWith(