GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
lo-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 lo-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
class  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 256 of file lo-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 267 of file lo-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 245 of file lo-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 278 of file lo-regexp.h.

References regexp::replace().

Referenced by octregexprep().