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

#include "lo-regexp.h"

Collaboration diagram for regexp::opts:

Public Member Functions

 opts (const opts &)=default
 
 opts (void)
 
 ~opts (void)=default
 
void case_insensitive (bool val)
 
bool case_insensitive (void) const
 
void dotexceptnewline (bool val)
 
bool dotexceptnewline (void) const
 
void emptymatch (bool val)
 
bool emptymatch (void) const
 
void freespacing (bool val)
 
bool freespacing (void) const
 
void lineanchors (bool val)
 
bool lineanchors (void) const
 
void once (bool val)
 
bool once (void) const
 
optsoperator= (const opts &)=default
 

Private Attributes

bool m_case_insensitive
 
bool m_dotexceptnewline
 
bool m_emptymatch
 
bool m_freespacing
 
bool m_lineanchors
 
bool m_once
 

Detailed Description

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

Constructor & Destructor Documentation

◆ opts() [1/2]

regexp::opts::opts ( void  )
inline

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

◆ opts() [2/2]

regexp::opts::opts ( const opts )
default

◆ ~opts()

regexp::opts::~opts ( void  )
default

Member Function Documentation

◆ case_insensitive() [1/2]

void regexp::opts::case_insensitive ( bool  val)
inline

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

Referenced by regexp::compile_internal(), octregexp(), and parse_options().

◆ case_insensitive() [2/2]

bool regexp::opts::case_insensitive ( void  ) const
inline

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

◆ dotexceptnewline() [1/2]

void regexp::opts::dotexceptnewline ( bool  val)
inline

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

Referenced by regexp::compile_internal(), and parse_options().

◆ dotexceptnewline() [2/2]

bool regexp::opts::dotexceptnewline ( void  ) const
inline

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

◆ emptymatch() [1/2]

void regexp::opts::emptymatch ( bool  val)
inline

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

Referenced by regexp::match(), and parse_options().

◆ emptymatch() [2/2]

bool regexp::opts::emptymatch ( void  ) const
inline

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

◆ freespacing() [1/2]

void regexp::opts::freespacing ( bool  val)
inline

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

Referenced by regexp::compile_internal(), and parse_options().

◆ freespacing() [2/2]

bool regexp::opts::freespacing ( void  ) const
inline

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

◆ lineanchors() [1/2]

void regexp::opts::lineanchors ( bool  val)
inline

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

Referenced by regexp::compile_internal(), and parse_options().

◆ lineanchors() [2/2]

bool regexp::opts::lineanchors ( void  ) const
inline

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

◆ once() [1/2]

void regexp::opts::once ( bool  val)
inline

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

Referenced by regexp::match(), octregexp(), and parse_options().

◆ once() [2/2]

bool regexp::opts::once ( void  ) const
inline

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

◆ operator=()

opts& regexp::opts::operator= ( const opts )
default

Member Data Documentation

◆ m_case_insensitive

bool regexp::opts::m_case_insensitive
private

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

◆ m_dotexceptnewline

bool regexp::opts::m_dotexceptnewline
private

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

◆ m_emptymatch

bool regexp::opts::m_emptymatch
private

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

◆ m_freespacing

bool regexp::opts::m_freespacing
private

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

◆ m_lineanchors

bool regexp::opts::m_lineanchors
private

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

◆ m_once

bool regexp::opts::m_once
private

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


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