Small alias for boost::regex / std::regex without huge includes.
Definition in file regex.hpp.
Go to the source code of this file.
Classes | |
class | utils::regex |
Small alias for boost::regex / std::regex without huge includes. More... | |
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
bool | utils::regex_match (std::string_view str, const regex &pattern) |
Determines whether the regular expression matches the entire target character sequence. | |
bool | utils::regex_search (std::string_view str, const regex &pattern) |
Determines whether the regular expression matches anywhere in the target character sequence. | |
std::string | utils::regex_replace (std::string_view str, const regex &pattern, std::string_view repl) |
Create a new string where all regular expression matches replaced with repl. | |