[wx-dev] wxRegEx url matching
Vadim Zeitlin
vadim at wxwidgets.org
Tue Feb 5 01:35:04 PST 2008
On Tue, 05 Feb 2008 09:02:37 +0100 Robert Roebling wrote:
RR> > Robin Dunn <robin at alldunn.com> wrote:
RR> >
RR> > RD> I got a little confused along the way because apparently wxRegEx doesn't
RR> > RD> support the common \w character class
RR> >
RR> > It does when using the built-in version, see src/regex/re_syntax.n.
RR> > You need to use it in advanced mode, i.e. with wxRE_ADVANCED flag for this.
RR>
RR> This is not entirely obvious and mentioning it in the docs would
RR> probably be a good idea.
Yes, but then we really need some RE syntax description. I'd prefer to
just put in a link to some page somewhere but I didn't find anything in 30
seconds of googling. Maybe we can put re_syntax man page on wxwigdets.org
and link there?
RR> Does \w in the built-in library know about Unicode or is this ascii or
RR> ISO-8859 only?
To be honest I have no idea. I tried reading src/regex/regc_locale.c but
got lost, it would be probably simpler to just test it.
Regards,
VZ
More information about the wx-dev
mailing list