Boost logo

Boost Users :

From: Paul Elliott (pelliott_at_[hidden])
Date: 2004-03-17 22:08:37


I am using Gtkmm. I want to do boost regular expression searching on
Glib::ustring.
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGlib_1_1ustring.html

This class represents characters in UTF-8, so each character in the
buffer is represented by a varriable number of bytes. But it does
have a bidirectional iterator.

How would you set up boost regex to search if both the regular expression
and the string to be searched is a ustring?

Does one need to override any of the types defiened in regex_traits?

Thank you.

BTW.
Quote from:http://www.boost.org/libs/regex/doc/regex_traits.html

"Under construction.
The current boost.regex traits class design will be migrated to
that specified in the regular expression standardization proposal."

This is not very useful to someone trying to use the boost_regex
library now!

-- 
Paul Elliott                       1(512)837-1096
pelliott_at_[hidden]                    PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/   Austin TX 78758-3117



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net