17
19
virtual void dump_config(std::vector<std::string>& config_output);
18
20
void quote_and_highlight(std::string& str, const std::string& location);
19
21
void remove_last_regex(const std::string& location);
21
24
typedef std::pair<std::vector<regex_t *>, std::vector<std::string> > rc_pair;
22
25
std::map<std::string, rc_pair> locations;
23
26
std::vector<std::string> cheat_store_for_dump_config;
25
30
inline std::vector<std::string>& get_attrs(const std::string& loc) { return locations[loc].second; }
26
31
inline std::vector<regex_t *>& get_regexes(const std::string& loc) { return locations[loc].first; }