op_regex.cpp | 103 void regular_expression_replace::add_pattern(string const & pattern, function in class:regular_expression_replace 265 var_name_rule.add_pattern("^\\$([_a-zA-Z][_a-zA-Z0-9]*)[ ]*=.*", "\\1"); 267 var_value_rule.add_pattern(".*=[ ]*\"(.*)\"", "\\1"); 270 left_rule.add_pattern("[ ]*\"(.*)\"[ ]*=.*", "\\1"); 272 right_rule.add_pattern(".*=[ ]*\"(.*)\"", "\\1"); 295 regex.add_pattern(left, right);
|