Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Introduction to using Regex with ICU
PrevUpHomeNext

The header:

<boost/regex/icu.hpp>

contains the data types and algorithms necessary for working with regular expressions in a Unicode aware environment.

In order to use this header you will need the ICU library, and you will need to have built the Boost.Regex library with ICU support enabled.

The header will enable you to:

  • Create regular expressions that treat Unicode strings as sequences of UTF-32 code points.
  • Create regular expressions that support various Unicode data properties, including character classification.
  • Transparently search Unicode strings that are encoded as either UTF-8, UTF-16 or UTF-32.

PrevUpHomeNext