static List<String> extractLinks(String text) { return _urlRegex.allMatches(text).map((m) => m.group(0)!).toList(); }