| 174 | } |
| 175 | |
| 176 | void Pattern::error(regex_error_type code, size_t pos) const |
| 177 | { |
| 178 | regex_error err(code, rex_, pos); |
| 179 | if (opt_.w) |
| 180 | std::cerr << err.what(); |
| 181 | if (code == regex_error::exceeds_length || code == regex_error::exceeds_limits || opt_.r) |
| 182 | throw err; |
| 183 | } |
| 184 | |
| 185 | void Pattern::init(const char *options, const char *pred) |
| 186 | { |
nothing calls this directly
no outgoing calls
no test coverage detected