Boost logo

Boost Users :

Subject: Re: [Boost-users] [regex] expression: string iterator not dereferencable
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-10-09 13:18:34


> I use boost::regex with ICU. When I try call u32regex_match for symbol
> with
> code 0xDA10, I get an expression "string iterator not dereferencable
> (xstring, line 112)". If I use other symbol (for example, "X") it works
> correctly. If I use wregex (wighout ICU) it works correctly too. What
> could
> be the problem?

It's a bug - the iterator adapters get confused because "\xDA10" is not a
valid Unicode sequence - will fix Trunk shortly, and hopefully get the fix
into the next release.

Regards, John.


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