MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / rule_name

Function rule_name

common/peg-parser.cpp:1150–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1148}
1149
1150static std::string rule_name(const std::string & name) {
1151 static const std::regex invalid_rule_chars_re("[^a-zA-Z0-9-]+");
1152 return std::regex_replace(name, invalid_rule_chars_re, "-");
1153}
1154
1155common_peg_parser_builder::common_peg_parser_builder() {}
1156

Callers 1

ruleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected