Paul Elliott
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.htm l
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?
The character type should be gunichar.
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!
I am using Boost 1.30, in which the traits are documented in