Searched refs:add_pattern (Results 1 – 2 of 2) sorted by relevance
103 void regular_expression_replace::add_pattern(string const & pattern, in add_pattern() function in regular_expression_replace265 var_name_rule.add_pattern("^\\$([_a-zA-Z][_a-zA-Z0-9]*)[ ]*=.*", "\\1"); in setup_regex()267 var_value_rule.add_pattern(".*=[ ]*\"(.*)\"", "\\1"); in setup_regex()270 left_rule.add_pattern("[ ]*\"(.*)\"[ ]*=.*", "\\1"); in setup_regex()272 right_rule.add_pattern(".*=[ ]*\"(.*)\"", "\\1"); in setup_regex()295 regex.add_pattern(left, right); in setup_regex()
68 void add_pattern(std::string const & pattern,