Home | Libraries | People | FAQ | More |
boost::algorithm::find_regex — Find regex algorithm.
template<typename RangeT, typename CharT, typename RegexTraitsT> iterator_range< typename range_result_iterator< RangeT >::type > find_regex(RangeT & Input, const basic_regex< CharT, RegexTraitsT > & Rx, match_flag_type Flags = match_default);
Search for a substring matching the given regex in the input.
Parameters
Regex options
A container which will be searched.
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.
Notes:
This function provides the strong exception-safety guarantee
Copyright © 2002-2004 Pavol Droba |