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.

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.

CMake users should link to the Boost::regex_icu target in our CMakeLists.txt in order to have ICU dependencies taken care of when using this header.


PrevUpHomeNext