diff --git a/lib/pages/video/detail/reply/widgets/reply_item.dart b/lib/pages/video/detail/reply/widgets/reply_item.dart index 30d3faf5..4fe4723a 100644 --- a/lib/pages/video/detail/reply/widgets/reply_item.dart +++ b/lib/pages/video/detail/reply/widgets/reply_item.dart @@ -575,7 +575,7 @@ InlineSpan buildContent( return e.replaceAllMapped( RegExp(r'[?+*]'), (match) => '\\${match.group(0)}'); }).toList(); - + specialTokens.sort((a, b) => b.length.compareTo(a.length)); String patternStr = specialTokens.map(RegExp.escape).join('|'); if (patternStr.isNotEmpty) { patternStr += "|";