You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
grep -i / sed I: non-ASCII letters are not case-folded #1909
Activity
caomengxuan666 commentedon Nov 28, 2026
队长分拣:确认本方 bug(存量问题;建议 P2)。
队长在 X299 装机 WinuxCmd 1.2.1 上实跑,报告人的全部用例复现(1.2.3 同坏);GNU 侧为云端 grep 3.12 / sed 4.9(LC_ALL=C.UTF-8):
grep -ci 'é'(输入 É)grep -oi 'жук'(输入 ЖУК)grep -ci 'Σ'(输入 ς)grep -ciF 'é'(输入 É)sed 's/é/X/I'(aÉb)ASCII 字母折叠正常,与报告一致。定性:winux-regex 的大小写折叠只有 ASCII 面(parser 对字节做
to_ascii_lowercase,匹配侧同),非 ASCII 字母(Latin-1、西里尔、希腊,含 ς/Σ 终形 sigma)从不折叠;-F字面路径同样受影响。修复方向:折叠改为 Unicode 折叠(双向大小写映射,ς↔Σ/σ 按 GNU 语义),覆盖字面、字符类与 -F 三条路径。与 #1907 / #1910 同属 winux-regex 字节化根因。— 队长分拣
Merge origin/main into fix/winux-regex-multibyte-chars