Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Global inf

boost::xpressive::inf — For infinite repetition of a sub-expression.

Synopsis

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

unsigned int const inf;

Description

Magic value used with the repeat<>() function template to specify an unbounded repeat. Use as: repeat<17, inf>('a'). The equivalent in perl is /a{17,}/.


PrevUpHomeNext