Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template find_regex

boost::algorithm::find_regex — Find regex algorithm.

Synopsis

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


template<typename RangeT, typename CharT, typename RegexTraitsT> 
   
  ( Input,  Rx, 
              Flags = );

Description

Search for a substring matching the given regex in the input.

[Note] Note

This function provides the strong exception-safety guarantee

Parameters:

Flags

Regex options

Input

A container which will be searched.

Rx

A regular expression

Returns:

An iterator_range delimiting the match. Returned iterator is either RangeT::iterator or RangeT::const_iterator, depending on the constness of the input parameter.


PrevUpHomeNext