MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / regex_units_bre

Function regex_units_bre

tests/test_platform.c:1168–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166}
1167
1168static uint64_t regex_units_bre(const char *pattern) {
1169 return cbm_regcomp_estimate_units(pattern, 0);
1170}
1171
1172/* Writes "(a|b|c|...)" with `branches` one-letter alternatives into buf, which
1173 * must hold 2 * branches + 2 bytes. */

Callers 1

test_platform.cFile · 0.85

Calls 1

Tested by

no test coverage detected