Re: Re: Gobo Regexp and Unicode support.

Colin Paul Adams <colin-vnRo6g/[email protected]> Sat, 14 Jun 2008 21:30:58 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
>>>>> "Ted" == Ted  <kkkkg999-/[email protected]> writes:

    Ted> The result is "False" with patched Gobo Regexp.  But using
    Ted> UC_STRING, with original Gobo Regexp, the result is "False"
    Ted> too.

Then it looks like your patch has something to be said for it.

But not entirely. I took a look at the code, and there is a hard-code
256-bit pair of arrays for case translation, so a case-insensitive
match will definitely crash on Unicode (in any case, that method of
doing case-insensitive matches is wrong. For instance, the three strings ESSEN,
essen and e&#x00DF;en  should all compare equal for case insensitive
matches.)
-- 
Colin Adams
Preston Lancashire