boost::text::v1::words
// In header: <boost/text/word_break.hpp> template<code_point_range R, word_prop_func WordPropFunc = word_prop_callable, word_break_func WordBreakFunc = untailored_word_break> unspecified words(R && r, WordPropFunc word_prop = WordPropFunc{}, WordBreakFunc word_break = WordBreakFunc{});
Returns a view of the code point ranges delimiting words in r
. The result is returned as a borrowed_view_t
in C++20 and later.
See the Text Segmentation section of the tutorial for WordPropFunc semantics.
Returns a view of the grapheme ranges delimiting words in r
. The result is returned as a borrowed_view_t
in C++20 and later.
See the Text Segmentation section of the tutorial for WordPropFunc semantics.