| Home | Libraries | People | FAQ | More

## Global inf

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

## Synopsis

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

    BOOST_INLINE_CONSTEXPR unsigned int 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,}/.