Re: Gobo Regexp and Unicode support.
"Ted" <kkkkg999-/[email protected]> Tue, 01 Jul 2008 00:36:09 -0000
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you, Eric. Looking forward to full Unicode Regexp. Ted --- In [email protected], Eric Bezault <ericb@...> wrote: > > Ted wrote: > > I read somewhere Gobo Regexp doesn't support Unicode yet. > > After some investigation. I found some minor changes would make it > > support Unicode (See following patch). > > > > Can someone confirm? And merge it into the library if possible. > > I just committed your modifications in SVN. > > However, in addition to Colin's remark about case-insensitivity, I also > noticed that character classes (e.g. "[a-z]") will not work if they > contain characters with code greater then 255. > > For your information, this regexp library in Gobo was born out of > a translation to Eiffel of the code of the PCRE C library. The version > of the C library was 3.9 if I remember correctly, and it was the > very early stage of its support for unicode. The version number today > is 7.7 and they claim to support unicode now, supposedly with a regexp > pattern syntax and behavior compatible with Perl's regexp. It might > be worth looking at the PCRE C library: > > http://www.pcre.org/ > > in order to implement unicode support in a way that does not depart > too much from the original PCRE library and at the same time preventing > us from having to reinvent the wheel. > > I suggest that we move this discussion to the gobo-eiffel-develop > mailing list. > > -- > Eric Bezault > mailto:ericb@... > http://www.gobosoft.com > ------------------------------------ To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected]! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/gobo-eiffel/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/