#include <null_regexp_filter.hpp>
Definition at line 29 of file null_regexp_filter.hpp.
jubatus::core::fv_converter::regexp_filter::regexp_filter |
( |
const std::string & |
regexp, |
|
|
const std::string & |
replace |
|
) |
| |
|
inline |
jubatus::core::fv_converter::regexp_filter::regexp_filter |
( |
const std::string & |
regexp, |
|
|
const std::string & |
replace |
|
) |
| |
jubatus::core::fv_converter::regexp_filter::~regexp_filter |
( |
| ) |
|
jubatus::core::fv_converter::regexp_filter::regexp_filter |
( |
| ) |
|
|
private |
jubatus::core::fv_converter::regexp_filter::regexp_filter |
( |
const std::string & |
regexp, |
|
|
const std::string & |
replace |
|
) |
| |
jubatus::core::fv_converter::regexp_filter::regexp_filter |
( |
| ) |
|
|
private |
void jubatus::core::fv_converter::regexp_filter::filter |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
virtual |
void jubatus::core::fv_converter::regexp_filter::filter |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
virtual |
void jubatus::core::fv_converter::regexp_filter::filter |
( |
const std::string & |
input, |
|
|
std::string & |
output |
|
) |
| const |
|
inlinevirtual |
void jubatus::core::fv_converter::regexp_filter::replace |
( |
const std::string & |
input, |
|
|
const OnigRegion * |
region, |
|
|
std::ostream & |
out |
|
) |
| const |
|
private |
Definition at line 69 of file onig_filter.cpp.
References JUBATUS_EXCEPTION, and replace_.
73 for (std::size_t i = 0; i <
replace_.size(); ++i) {
81 "invalid replacement expression. 0-9 or \\ are required after \\"));
86 }
else if (
'0' <= c && c <=
'9') {
88 std::size_t len = region->end[group] - region->beg[group];
89 out << input.substr(region->beg[group], len);
94 "invalid replacement expression. 0-9 or \\ are required after \\"));
#define JUBATUS_EXCEPTION(e)
re2::RE2 jubatus::core::fv_converter::regexp_filter::re_ |
|
private |
regex_t* jubatus::core::fv_converter::regexp_filter::reg_ |
|
private |
std::string jubatus::core::fv_converter::regexp_filter::replace_ |
|
private |
The documentation for this class was generated from the following files: