[vim/vim] NFA literal matches miss characters with different case-folded widths (PR #21438)

7 views
Skip to first unread message

Volodymyr Chernetskyi

unread,
Oct 3, 2026, 1:37:58 PM (3 days ago) Oct 3
to vim/vim, Subscribed

What does this change do?

Problem: NFA literal matches miss characters with different case-folded
widths, including when retrying after a failed suffix match.

Solution: Advance past the actual input character in both paths and test
string and buffer searches (Volodymyr Chernetskyi).

related: #14294

AI assistance

  • AI involvement is disclosed in the commit message, or no AI was used

Checklist

  • The commit message follows the Problem/Solution form above
  • Signed-off-by: trailer is present (git commit -s), recommended but not required
  • Tests were added, existing tests cover the change, or the change cannot be tested (say why)
  • Documentation under runtime/doc/ was updated, or no update is needed

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21438

Commit Summary

  • 2570066 patch 9.2.NNNN: NFA literal matches miss characters with different case-folded widths

File Changes

(2 files)

Patch Links:

—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21438@github.com>

Reply all
Reply to author
Forward
0 new messages