Boost C++ Libraries

...one 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 for the latest Boost documentation.
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