Re: Gobo Regexp and Unicode support.
"Ted" <kkkkg999-/[email protected]> Sun, 15 Jun 2008 11:34:18 -0000
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], Colin Paul Adams <colin@...> wrote: > > >>>>> "Ted" == Ted <kkkkg999@...> writes: > > Ted> Do you have an example searching what against what the crash > Ted> happens? That is interesting to me. Because I tried to apply > Ted> the modified Gobo Regexp to Unicode editor equipped > Ted> EiffelStudio search facility, didn't get any crash when > Ted> playing with case insensitive search against non-Lanin-1 > Ted> texts. Do you rescue those crashes in the library or > Ted> something I don't know? > > I have no idea. > Why don't you debug to see what is happening? Maybe there is a modulo > 256 operation somewhere? I debugged to see if there are rescues. My answer is no. So I still don't find how "a case-insensitive search against a target string containing a non-Latin-1 code will crash". As far as I see, case-insensitive search works as it is, just taking no effect on Unicode points larger than 255. I guess there are already protections. Ted