cppassist  1.0.0.f4fab4f962ff
C++ sanctuary for small but powerful and frequently required, stand alone features.
Namespaces | Functions
regex.h File Reference
#include <string>
#include <vector>
#include <cppassist/cppassist_api.h>
Include dependency graph for regex.h:

Go to the source code of this file.

Namespaces

 cppassist
 
 cppassist::string
 

Functions

CPPASSIST_API bool cppassist::string::matchesRegex (const std::string &string, const std::string &regex)
 Check if a regex matches a given string. More...
 
CPPASSIST_API std::vector< std::string > cppassist::string::extract (const std::string &string, const std::string &regex)
 Extract substrings matched by a regex. More...
 
CPPASSIST_API std::string::const_iterator cppassist::string::extractNext (std::string::const_iterator begin, std::string::const_iterator end, const std::string &regex, std::string &match)
 Extract next string matched by a regex. More...
 
CPPASSIST_API const char * cppassist::string::extractNext (const char *begin, const char *end, const std::string &regex, std::string &match)
 Extract next string matched by a regex. More...