13#ifndef ZYPP_TUI_UTILS_RICHTEXT_H_ 
   14#define ZYPP_TUI_UTILS_RICHTEXT_H_ 
   26inline std::ostream & 
printRichText( std::ostream & 
str, std::string 
text, 
unsigned indent_r = 0U, 
unsigned width_r = 0U )
 
   33  static const zypp::str::regex rttag(
"^[ \t\r\n]*<(p|!--[- ]*DT:Rich[ -]*--)>");
 
 
   41inline std::string 
printRichText( std::string 
text, 
unsigned indent_r = 0U, 
unsigned width_r = 0U )
 
 
String related utilities and Regular expression matching.
std::ostream & printRichText(std::ostream &str, std::string text, unsigned indent_r=0U, unsigned width_r=0U)
Print [Rich]Text optionally indented.
std::string processRichText(const std::string &text)
bool regex_match(const std::string &s, smatch &matches, const regex ®ex)
\relates regex \ingroup ZYPP_STR_REGEX    \relates regex \ingroup ZYPP_STR_REGEX
std::ostream & printIndented(std::ostream &str, const std::string &text_r, const std::string &indent_r="  ", unsigned maxWitdh_r=0)
Indent by string ["  "] optionally wrap.
Convenient building of std::string via std::ostringstream Basically a std::ostringstream autoconverti...
const std::ostream & stream() const