
15 Jun
2009
15 Jun
'09
12:26 a.m.
In that case, you are restricted to using the same msvc runtime that
ICU
uses (assuming you are committed to using regex with ICU - regex and Win32 provide passable Unicode support without it via boost::wregex).
That means I can get unicode support without ICU in the Win32 environment? If that's true, then what is ICU for?
It depends how complete you want the Unicode support, have you seen: http://www.boost.org/doc/libs/1_39_0/libs/regex/doc/html/boost_regex/unic ode.html ?
Basically on Win32 character classification and upper/lower case conversion works OK in wregex, but Unicode specific character classes like [[:lu:]] can't be used, likewise nothing in icu.hpp (so UTF8 support for example).
HTH, John.
Thanks for the explanation. Best, Max