移除无用的正则表达式定义

This commit is contained in:
辉鸭蛋
2025-09-17 01:45:47 +08:00
parent 7e77403695
commit 5ff35e290f

View File

@@ -386,9 +386,6 @@ public partial class AutoPickTrigger : ITaskTrigger
_prevClickFrameIndex = content.FrameIndex;
}
[GeneratedRegex(@"^[\p{P} ]+|[\p{P} ]+$")]
private static partial Regex PunctuationAndSpacesRegex();
/// <summary>
/// 高性能处理OCR识别的文字结果
/// 1. 替换【、[ 为「,替换】、] 为」