header_utils
Loading...
Searching...
No Matches
Regex

Typedefs

using ghassanpl::regex::svmatch

Functions

template<class BidirIt, class UnaryFunction>
std::string ghassanpl::regex::regex_replace (BidirIt &&first, BidirIt &&last, const std::regex &re, UnaryFunction &&f)
template<class UnaryFunction>
std::string ghassanpl::regex::regex_replace (std::string_view s, const std::regex &re, UnaryFunction &&f)
template<class BidirIt, class UnaryFunction>
void ghassanpl::regex::regex_split (BidirIt first, BidirIt last, const std::regex &re, UnaryFunction &&f)
template<class UnaryFunction>
void ghassanpl::regex::regex_split (std::string_view s, const std::regex &re, UnaryFunction &&f)
std::vector< std::string > ghassanpl::regex::regex_split (std::string_view s, const std::regex &re)

Detailed Description

Typedef Documentation

◆ svmatch

using ghassanpl::regex::svmatch

Definition at line 17 of file regex.h.

Function Documentation

◆ regex_replace() [1/2]

template<class BidirIt, class UnaryFunction>
std::string ghassanpl::regex::regex_replace ( BidirIt && first,
BidirIt && last,
const std::regex & re,
UnaryFunction && f )
nodiscard

Definition at line 20 of file regex.h.

◆ regex_replace() [2/2]

template<class UnaryFunction>
std::string ghassanpl::regex::regex_replace ( std::string_view s,
const std::regex & re,
UnaryFunction && f )
nodiscard

Definition at line 51 of file regex.h.

◆ regex_split() [1/3]

template<class BidirIt, class UnaryFunction>
void ghassanpl::regex::regex_split ( BidirIt first,
BidirIt last,
const std::regex & re,
UnaryFunction && f )

Definition at line 57 of file regex.h.

◆ regex_split() [2/3]

std::vector< std::string > ghassanpl::regex::regex_split ( std::string_view s,
const std::regex & re )
inlinenodiscard

Definition at line 68 of file regex.h.

◆ regex_split() [3/3]

template<class UnaryFunction>
void ghassanpl::regex::regex_split ( std::string_view s,
const std::regex & re,
UnaryFunction && f )

Definition at line 63 of file regex.h.