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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template icase

boost::xpressive::icase — Makes a sub-expression case-insensitive.

Synopsis

// In header: <boost/xpressive/regex_primitives.hpp>


template<typename Expr> unspecified icase(Expr const & expr);

Description

Use icase() to make a sub-expression case-insensitive. For instance, "foo" >> icase(set['b'] >> "ar") will match "foo" exactly followed by "bar" irrespective of case.


PrevUpHomeNext