ITADN

Fix RegExp UTF-16 Matching

#226Pull Requestlemueldls 创建于 2025-01-31已合并
L
lemueldlscommented
The crate used to evaluate regexp, [regress](https://github.com/ridiculousfish/regress), fixed the [utf-16 matching problems](https://github.com/kaleidawave/ezno/issues/184#issuecomment-2274383051) in their [0.10.3 release](https://github.com/ridiculousfish/regress/releases/tag/v0.10.3). The `RegExp::exec` function now correctly matches using utf-16 instead of utf-8. ### Before (`main`): ![snapshot_2025-01-31_10-36-01](https://github.com/user-attachments/assets/b65ca61f-bfac-415f-8690-dd212eff3a1d) ### After (`regexp-utf16`): ![snapshot_2025-01-31_10-38-35](https://github.com/user-attachments/assets/18eb7654-67b8-45da-9e46-24d22aa84f24) ### Expected: ![snapshot_2025-01-31_10-45-05](https://github.com/user-attachments/assets/1df7ccea-f21a-4212-98a5-138cadd67d8f)
合并状态:已合并 合并于 2025-02-05 关闭于 2025-02-05 2 条评论