Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template regex_finder

boost::algorithm::regex_finder — "Regex" finder

Synopsis

// In header: <boost/algorithm/string/regex_find_format.hpp>


template<typename CharT, typename RegexTraitsT> 
  unspecified regex_finder(const basic_regex< CharT, RegexTraitsT > & Rx, 
                           match_flag_type MatchFlags = match_default);

Description

Construct the regex_finder. Finder uses the regex engine to search for a match. Result is given in regex_search_result. This is an extension of the iterator_range. In addition it contains match results from the regex_search algorithm.

Parameters:

MatchFlags

Regex search options

Rx

A regular expression

Returns:

An instance of the regex_finder object


PrevUpHomeNext