Classes | Functions

regexp.h File Reference

#include <list>
#include <sstream>
#include <string>
#include "Array.h"
#include "Matrix.h"
#include "base-list.h"
#include "str-vec.h"
Include dependency graph for regexp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  regexp::match_data
class  regexp::match_element
struct  regexp::opts
class  regexp

Functions

bool is_regexp_match (const std::string &pat, const std::string &buffer, const regexp::opts &opt=regexp::opts(), const std::string &who="regexp")
Array< boolis_regexp_match (const std::string &pat, const string_vector &buffer, const regexp::opts &opt=regexp::opts(), const std::string &who="regexp")
regexp::match_data regexp_match (const std::string &pat, const std::string &buffer, const regexp::opts &opt=regexp::opts(), const std::string &who="regexp")
std::string regexp_replace (const std::string &pat, const std::string &buffer, const std::string &replacement, const regexp::opts &opt=regexp::opts(), const std::string &who="regexp")

Function Documentation

bool is_regexp_match ( const std::string &  pat,
const std::string &  buffer,
const regexp::opts opt = regexp::opts (),
const std::string &  who = "regexp" 
) [inline]

Definition at line 248 of file regexp.h.

References regexp::is_match().

Referenced by name_matches_any_pattern().

Array<bool> is_regexp_match ( const std::string &  pat,
const string_vector buffer,
const regexp::opts opt = regexp::opts (),
const std::string &  who = "regexp" 
) [inline]

Definition at line 259 of file regexp.h.

References regexp::is_match().

regexp::match_data regexp_match ( const std::string &  pat,
const std::string &  buffer,
const regexp::opts opt = regexp::opts (),
const std::string &  who = "regexp" 
) [inline]

Definition at line 237 of file regexp.h.

References regexp::match().

Referenced by octregexp().

std::string regexp_replace ( const std::string &  pat,
const std::string &  buffer,
const std::string &  replacement,
const regexp::opts opt = regexp::opts (),
const std::string &  who = "regexp" 
) [inline]

Definition at line 270 of file regexp.h.

References regexp::replace().

Referenced by octregexprep().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines