Re: Gobo Regexp and Unicode support.
"Ted" <kkkkg999-/[email protected]> Fri, 13 Jun 2008 17:26:48 -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> I tried "a.a" to match either `aHa' or `a不a' (a > Ted> Chinese char in between), they both perfectly matched. > > Ted> I also tried "a..+a" to match either `aHa' or `a不a', > Ted> neither of them matched. > > I don't understand how you have done this - the regexp library only > handles 8-bit characters. 19981 is not an 8-bit value. That's what the patch does. `item_code' of UC_STRING does return correct 4-byte Unicode character (INTEGER_32), doesn't it? `item' didn't. Ted