0
0
mirror of https://github.com/vim/vim.git synced 2025-11-04 09:47:15 -05:00

patch 9.1.0297: Patch 9.1.0296 causes too many issues

Problem:  Patch 9.1.0296 causes too many issues
          (Tony Mechelynck, @chdiza, CI)
Solution: Back out the change for now

Revert "patch 9.1.0296: regexp: engines do not handle case-folding well"

This reverts commit 7a27c108e0 it causes
issues with syntax highlighting and breaks the FreeBSD and MacOS CI. It
needs more work.

fixes: #14487

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-04-10 16:18:15 +02:00
parent 49f1e1979f
commit c97f4d61cd
8 changed files with 5 additions and 64 deletions

View File

@@ -3800,15 +3800,6 @@ utf_strnicmp(
* Returns zero if s1 and s2 are equal (ignoring case), the difference between
* two characters otherwise.
*/
int
mb_strnicmp2(char_u *s1, char_u *s2, int n1, int n2)
{
if (n1 == n2 || !enc_utf8)
return mb_strnicmp(s1, s2, n1);
else
return utf_strnicmp(s1, s2, n1, n2);
}
int
mb_strnicmp(char_u *s1, char_u *s2, size_t nn)
{