Repository navigation
Conversation
Add Rust regex correction mode with capture-group replacements while preserving literal and {num} behavior. Validate rules across local, cloud, and encrypted sync paths, and keep Linux/Tauri/Harmony UI writes retryable.
Refs Open-Less#1515
Preserve the issue Open-Less#1515 correction-rule implementation while integrating the current upstream beta base. Refs Open-Less#1515
Allow explicit literal modes through local and encrypted-sync lossless validation, fence frontend write errors by generation, and preserve raw Linux drafts across async correction failures. Refs Open-Less#1515
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
状态
概要
为 Issue #1515 增加可选的正则纠正规则,同时保持已有规则兼容:
regex的全局、非重叠匹配。$1、${name}捕获组替换。{num}数字通配规则。示例:
([0-9]+)粒→$1例,可将3粒转换为3例。当前候选
betaee5042c48e91150cd352b11c0c582d9dc184f363HKLHaoBin:feat/issue-1515-correction-expressionsD:/Dev/worktrees/openless/issue-1515-correction-expressions已完成验证
review-diff-bugs审查:针对当前候选ee5042c48e91150cd352b11c0c582d9dc184f363返回no bug found。git diff --check:通过。46444957805与桌面 Actions run46444932499attempt 2 属于此前候选,不作为当前 head 的构建证据;当前 head 的 Actions 验证待启动。当前 CI 状态
CI run
46768224643(head9cb04771bed1bcd61eccb558136f3f325516df47)已完成但失败,不能作为当前 head 的结论。归档日志显示:testjob 的 2 个 Core 测试使用了已被当前 schema v2 占用的版本号2作为“非法版本”夹具;已在当前 headee5042c48e91150cd352b11c0c582d9dc184f363改为3,并完成独立审查。navigation-polish.spec.ts、notifications.spec.ts等本分支未修改的测试路径;macOS job 另有取消项。尚未完成
请将本 PR 视为 WIP Draft,不要在当前状态下合并。
Refs #1515