MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / find_regex

Function find_regex

include/win/boost/algorithm/string/regex.hpp:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 typename CharT,
55 typename RegexTraitsT>
56 inline iterator_range<
57 BOOST_STRING_TYPENAME range_iterator<RangeT>::type >
58 find_regex(
59 RangeT& Input,
60 const basic_regex<CharT, RegexTraitsT>& Rx,
61 match_flag_type Flags=match_default )
62 {
63 iterator_range<BOOST_STRING_TYPENAME range_iterator<RangeT>::type> lit_input(::boost::as_literal(Input));
64
65 return ::boost::algorithm::regex_finder(Rx,Flags)(
66 ::boost::begin(lit_input), ::boost::end(lit_input) );
67 }
68
69// replace_regex --------------------------------------------------------------------//
70

Callers

nothing calls this directly

Calls 4

regex_finderFunction · 0.85
as_literalFunction · 0.50
beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected