Boost C++ Libraries 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 to view this page for the latest version.

Function template icase

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


template<typename Xpr> unspecified icase(Xpr const & xpr);


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.

Copyright 2003, 2004 Eric Niebler