#include <sys/types.h>
#include <regex.h>
#include <string>
#include <vector>
#include <map>
#include "op_exception.h"
Go to the source code of this file.
Data Structures | |
struct | bad_regex |
class | regular_expression_replace |
struct | regular_expression_replace::replace_t |
Functions | |
void | setup_regex (regular_expression_replace ®ex, std::string const &filename) |
This file contains various definitions and interface for a lightweight wrapper around libc regex, providing match and replace facility.
Definition in file op_regex.h.
void setup_regex | ( | regular_expression_replace & | regex, | |
std::string const & | filename | |||
) |
regex | the regular_expression_replace to fill | |
filename | the filename from where the deifnition and pattern are read |
add to regex pattern and regular definition read from the given file