#include <list>
#include <sstream>
#include <pcre.h>
#include "base-list.h"
#include "oct-locbuf.h"
#include "quit.h"
#include "lo-regexp.h"
#include "str-vec.h"
#include "defun.h"
#include "Cell.h"
#include "error.h"
#include "errwarn.h"
#include "oct-map.h"
#include "ovl.h"
#include "utils.h"
Go to the source code of this file.
|
static std::string | do_regexp_ptn_string_escapes (const std::string &s, bool is_sq_str) |
|
static std::string | do_regexp_rep_string_escapes (const std::string &s) |
|
OCTAVE_EXPORT octave_value_list | Fregexp (const octave_value_list &args, int nargout) ar |
|
static octave_value_list | octcellregexp (const octave_value_list &args, int nargout, const std::string &who, bool case_insensitive=false) |
|
static octave_value_list | octregexp (const octave_value_list &args, int nargout, const std::string &who, bool case_insensitive=false) |
|
static void | parse_options (octave::regexp::opts &options, const octave_value_list &args, const std::string &who, int skip, bool &extra_args) |
|
◆ do_regexp_ptn_string_escapes()
◆ do_regexp_rep_string_escapes()
◆ Fregexp()
◆ octcellregexp()
Definition at line 541 of file regexp.cc.
References octave_value_list::cell_value(), Array< T >::dims(), error(), i, nargout(), Array< T >::numel(), OCTAVE_LOCAL_BUFFER, octave_value(), octregexp(), Array< T >::resize(), retval, and tmp.
Referenced by Fregexp().
◆ octregexp()
Definition at line 357 of file regexp.cc.
References octave_map::assign(), octave::base_list< elt_type >::begin(), do_regexp_ptn_string_escapes(), e, i, k, octave_value_list::length(), octave::regexp::match(), octave::regexp::match_data::named_patterns(), nargout(), Array< T >::numel(), options, p, parse_options(), pattern(), octave_value_list::resize(), octave_value::resize(), retval, s, octave::base_list< elt_type >::size(), start, str, string, sz, tmp, and transform().
Referenced by Fregexp(), and octcellregexp().
◆ parse_options()
◆ ar