GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
regexp::match_data Class Reference

#include "lo-regexp.h"

Inheritance diagram for regexp::match_data:
base_list< match_element >

Public Member Functions

 match_data ()
 
 match_data (const std::list< match_element > &l, const string_vector &np)
 
string_vector named_patterns () const
 
- Public Member Functions inherited from base_list< match_element >
 base_list ()=default
 
 base_list (const base_list &bl)=default
 
 base_list (const std::list< match_element > &l)
 
virtual ~base_list ()=default
 
void append (const match_element &s)
 
match_element & back ()
 
const match_element & back () const
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
iterator erase (iterator pos)
 
match_element & front ()
 
const match_element & front () const
 
std::size_t length () const
 
base_listoperator= (const base_list &bl)=default
 
void pop_back ()
 
void pop_front ()
 
void push_back (const match_element &s)
 
void push_front (const match_element &s)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
void remove_if (P pred)
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
std::size_t size () const
 

Additional Inherited Members

- Public Types inherited from base_list< match_element >
typedef std::list< match_element >::const_iterator const_iterator
 
typedef std::list< match_element >::const_reverse_iterator const_reverse_iterator
 
typedef std::list< match_element >::iterator iterator
 
typedef std::list< match_element >::reverse_iterator reverse_iterator
 
- Protected Attributes inherited from base_list< match_element >
std::list< match_element > m_lst
 

Detailed Description

Definition at line 199 of file lo-regexp.h.

Constructor & Destructor Documentation

◆ match_data() [1/2]

regexp::match_data::match_data ( )
inline

Definition at line 203 of file lo-regexp.h.

◆ match_data() [2/2]

regexp::match_data::match_data ( const std::list< match_element > &  l,
const string_vector np 
)
inline

Definition at line 207 of file lo-regexp.h.

Member Function Documentation

◆ named_patterns()

string_vector regexp::match_data::named_patterns ( ) const
inline

Definition at line 213 of file lo-regexp.h.


The documentation for this class was generated from the following file: