----------------------------------------------------------------------------
| 320 | |
| 321 | //---------------------------------------------------------------------------- |
| 322 | int32_t |
| 323 | Regex::get_capture_count() |
| 324 | { |
| 325 | int captures = -1; |
| 326 | if (pcre2_pattern_info(_Code::get(_code), PCRE2_INFO_CAPTURECOUNT, &captures) != 0) { |
| 327 | return -1; |
| 328 | } |
| 329 | return captures; |
| 330 | } |
| 331 | |
| 332 | //---------------------------------------------------------------------------- |
| 333 | DFA::~DFA() {} |
no test coverage detected