bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16581: suggested code simplification in dfa.c


From: Paul Eggert
Subject: bug#16581: suggested code simplification in dfa.c
Date: Thu, 30 Jan 2014 13:56:10 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/30/2014 07:51 AM, address@hidden wrote:
I suggest starting with the XOR changes for unibyte locales - they seem
(to me) to be good no matter what. And then separately try to deal with
the multibyte case.

Unfortunately the changes don't work even for unibyte locales, since unibyte locales can have the same problem, i.e., c != tolower (c) && c != toupper (c). Admittedly this is rare, but it's possible (users can define their own locales, after all), and fixing the code for the multibyte case will induce similar changes for unibyte, I hope.


And just to increase the need for Aspirin, any idea how regex handles
this case?

No idea, sorry.  Rounds of aspirin for everybody!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]