boost::text::v1::make_boyer_moore_horspool_collation_searcher
// In header: <boost/text/collation_search.hpp> template<code_point_range R, searcher_break_func BreakFunc> unspecified make_boyer_moore_horspool_collation_searcher(R && r, BreakFunc break_fn, collation_table const & table, collation_flags flags = collation_flags::none);
Returns a boyer_moore_horspool_collation_searcher
that will find the pattern r
. Any occurence of the pattern must be found starting at and ending at a boundary found by break_fn
(e.g. a grapheme or word boundary. In C++20 and later, if std::ranges::borrowed_range<R>
is false
, this function returns a std::ranges::dangling
.
Returns a boyer_moore_horspool_collation_searcher
that will find the pattern r
. Any occurence of the pattern must be found starting at and ending at a boundary found by break_fn
(e.g. a grapheme or word boundary). In C++20 and later, if std::ranges::borrowed_range<R>
is false
, this function returns a std::ranges::dangling
.