...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::find_regex — Find regex algorithm.
// In header: <boost/algorithm/string/regex.hpp> template<typename RangeT, typename CharT, typename RegexTraitsT> iterator_range< typename range_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.
Note | |
---|---|
This function provides the strong exception-safety guarantee |
Parameters: |
|
||||||
Returns: |
An |