[wx-dev] wxRegEx url matching

Vadim Zeitlin vadim at wxwidgets.org
Tue Feb 5 03:08:07 PST 2008


On Tue, 5 Feb 2008 10:33:01 +0000 Michael Wetherell <mike.wetherell at ntlworld.com> wrote:

MW> There is already:
MW> http://wxwidgets.org/manuals/stable/wx_wxresyn.html#wxresyn

 Oops, sorry for not noticing this. I should have known you wouldn't have
left this undone.

MW> The docs on wxRegEx do already link to it, but improvements are welcome 
MW> of course.

 This page looks perfect to me, thanks a lot!

MW> > RR> Does \w in the built-in library know about Unicode or is this
MW> > ascii or RR> ISO-8859 only?
MW> >
MW> >  To be honest I have no idea. I tried reading src/regex/regc_locale.c
MW> > but got lost, it would be probably simpler to just test it.
MW> 
MW> Yes it supports Unicode. From the docs:
MW> 
MW> "Unicode is fully supported only when using the builtin library. When 
MW> using the system library in Unicode mode, the expressions and data are 
MW> translated to the default 8-bit encoding before being passed to the 
MW> library."

 Do you know if system library has good support for Unicode on modern Linux
systems? I wonder if we shouldn't test for it in configure and still use it
instead of the built-in one if it passes some tests. But before
implementing this it would be useful to know if it has any chance of
succeeding...

 Thanks,
VZ





More information about the wx-dev mailing list