[regex] expression: string iterator not dereferencable

Good day.
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?
The code:
#include "stdafx.h"
#include <iostream>
#include

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.
participants (2)
-
John Maddock
-
Mitin Slava