header_utils
|
Typedefs | |
using | svmatch = std::match_results< std::string_view::const_iterator > |
Shamelessly stolen from https://stackoverflow.com/a/37516316. | |
Functions | |
template<class BidirIt , class UnaryFunction > | |
std::string | regex_replace (BidirIt &&first, BidirIt &&last, const std::regex &re, UnaryFunction &&f) |
template<class UnaryFunction > | |
std::string | regex_replace (std::string_view s, const std::regex &re, UnaryFunction &&f) |
template<class BidirIt , class UnaryFunction > | |
void | regex_split (BidirIt first, BidirIt last, const std::regex &re, UnaryFunction &&f) |
template<class UnaryFunction > | |
void | regex_split (std::string_view s, const std::regex &re, UnaryFunction &&f) |
std::vector< std::string > | regex_split (std::string_view s, const std::regex &re) |
using ghassanpl::regex::svmatch = typedef std::match_results<std::string_view::const_iterator> |
Shamelessly stolen from https://stackoverflow.com/a/37516316.
std::string ghassanpl::regex::regex_replace | ( | BidirIt && | first, |
BidirIt && | last, | ||
const std::regex & | re, | ||
UnaryFunction && | f | ||
) |
std::string ghassanpl::regex::regex_replace | ( | std::string_view | s, |
const std::regex & | re, | ||
UnaryFunction && | f | ||
) |
void ghassanpl::regex::regex_split | ( | BidirIt | first, |
BidirIt | last, | ||
const std::regex & | re, | ||
UnaryFunction && | f | ||
) |
|
inline |
void ghassanpl::regex::regex_split | ( | std::string_view | s, |
const std::regex & | re, | ||
UnaryFunction && | f | ||
) |