Boost C++ Libraries Home Libraries People FAQ More

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