From d906a14991a0c038a88bb9c92276a2713591ff8f Mon Sep 17 00:00:00 2001 From: HarryLHW <123lhw321@gmail.com> Date: Sat, 13 Jul 2024 16:04:34 +0800 Subject: [PATCH] case --- Modules/_sre/sre.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/_sre/sre.c b/Modules/_sre/sre.c index 0a888af31b04970..0e28f78de10ab7a 100644 --- a/Modules/_sre/sre.c +++ b/Modules/_sre/sre.c @@ -169,6 +169,8 @@ static unsigned int sre_upper_locale(unsigned int ch) static unsigned int sre_lower_unicode(unsigned int ch) { + if (ch == 0x0130) + return ch; return (unsigned int) Py_UNICODE_TOLOWER(ch); }