Doxygen
Loading...
Searching...
No Matches
regex.h File Reference
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include <iterator>
#include "construct.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  reg::Ex
 Class representing a regular expression. More...
 
class  reg::SubMatch
 Object representing the match results of a capture range. More...
 
class  reg::Match
 Object representing the matching results. More...
 
class  reg::Iterator
 Iterator class to iterator through matches. More...
 

Namespaces

namespace  reg
 Namespace for the regular expression functions.
 

Functions

bool reg::search (std::string_view str, Match &match, const Ex &re, size_t pos=0)
 Search in a given string str starting at position pos for a match against regular expression re.
 
bool reg::search (std::string_view str, const Ex &re, size_t pos=0)
 Search in a given string str starting at position pos for a match against regular expression re.
 
bool reg::match (std::string_view str, Match &match, const Ex &re)
 Matches a given string str for a match against regular expression re.
 
bool reg::match (std::string_view str, const Ex &re)
 Matches a given string str for a match against regular expression re.
 
std::string reg::replace (std::string_view str, const Ex &re, std::string_view replacement)
 Searching in a given input string for parts that match regular expression re and replaces those parts by string replacement.