userver: userver/utils/regex.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
regex.hpp File Reference

Small alias for boost::regex / std::regex without huge includes. More...

#include <string>
#include <userver/utils/fast_pimpl.hpp>
+ Include dependency graph for 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.
 

Detailed Description

Small alias for boost::regex / std::regex without huge includes.

Definition in file regex.hpp.