| 1162 | /* ── compat_regex: compile-size guard ──────────────────────────── */ |
| 1163 | |
| 1164 | static uint64_t regex_units_ere(const char *pattern) { |
| 1165 | return cbm_regcomp_estimate_units(pattern, CBM_REG_EXTENDED); |
| 1166 | } |
| 1167 | |
| 1168 | static uint64_t regex_units_bre(const char *pattern) { |
| 1169 | return cbm_regcomp_estimate_units(pattern, 0); |
no test coverage detected