libzypp  17.38.7
Regex.h File Reference
#include <iosfwd>
#include <string>
#include <regex.h>
#include <zypp-core/base/Exception.h>
Include dependency graph for Regex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  zypp::str::regex
 Regular expression. More...
 
class  zypp::str::smatch
 Regular expression match result. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 str
 String related utilities and Regular expression matching.
 
 zypp::str
 Provide print[f] and sprint[f] functions based on JoinFormat.
 

Typedefs

using zypp::str::regex_error = Exception
 

Functions

bool zypp::str::regex_match (const char *s, smatch &matches, const regex &regex) ZYPP_API
 Regular expression matching. More...
 
bool zypp::str::regex_match (const std::string &s, smatch &matches, const regex &regex)
 Regular expression matching. relates: regex ZYPP_STR_REGEX
More...
 
bool zypp::str::regex_match (const char *s, const regex &regex) ZYPP_API
 Regular expression matching. relates: regex ZYPP_STR_REGEX
More...
 
bool zypp::str::regex_match (const std::string &s, const regex &regex)
 Regular expression matching. relates: regex ZYPP_STR_REGEX
More...
 
std::string zypp::str::regex_substitute (const std::string &s, const regex &regex, const std::string &replacement, bool global=true) ZYPP_API
 Replaces the matched regex with the string passed in replacement. More...
 
std::ostream & zypp::str::operator<< (std::ostream &str, const regex &obj)
 relates: regex Stream output More...