[wx-dev] wxRegEx url matching

Vadim Zeitlin vadim at wxwidgets.org
Tue Feb 5 16:41:26 PST 2008


On Tue, 5 Feb 2008 17:58:18 +0000 Michael Wetherell <mike.wetherell at ntlworld.com> wrote:

MW> On Tuesday 05 February 2008 11:08, Vadim Zeitlin wrote:
MW> >  Do you know if system library has good support for Unicode on modern
MW> > Linux systems?
MW> 
MW> They do but the snag is they follow the encoding of the locale...

 Life would be so much easier if everybody just used UTF-8...

MW> > I wonder if we shouldn't test for it in configure and 
MW> > still use it instead of the built-in one if it passes some tests. But
MW> > before implementing this it would be useful to know if it has any
MW> > chance of succeeding...
MW> 
MW> so I think we're better with the built-in.

 Yes, I guess so. Unless there is some way to indicate the RE locale in RE
itself.

MW> But there is a new library 'Oniguruma' appeared recently that supports 
MW> lots of encodings including utf-8 and utf-16. And it supports the 
MW> Unicode standard for regex syntax http://unicode.org/reports/tr18/, and 
MW> has some niffty features like being able to emulate the syntax other 
MW> libraries.
MW> 
MW> I'll have a look into it.

 This certainly looks interesting. Although I'm a bit wary of new (meaning
evolving rapidly) libraries for maintenance reasons.

 Thanks,
VZ





More information about the wx-dev mailing list