RE: [Boost-users] regular expression searching for Glib::ustring??
Paul Elliott
On Thu, Mar 18, 2004 at 04:08:59PM -0000, Ben Hutchings wrote:
Paul Elliott
wrote: I am using Gtkmm. I want to do boost regular expression searching on Glib::ustring. <snip> How would you set up boost regex to search if both the regular expression and the string to be searched is a ustring? <snip> To create a regex from a ustring I would write something like this:
boost::reg_expression
re; In the above, you have unicode_regex_traits, which is necessary because when I tried:
boost::basic_regex<gunichar> regular_expression;
I got the following error message:
What are the requirements for such a traits structure?
I already told you:
I am using Boost 1.30, in which the traits are documented in
. I don't know whether that documentation still applies to 1.31.
Ben.
participants (1)
-
Ben Hutchings